mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
cfg80211: allow leaving MU-MIMO monitor configuration unchanged
When changing monitor parameters, not setting the MU-MIMO attributes should mean that they're not changed - it's documented that to turn the feature off it's necessary to set all-zero group membership and an invalid follow-address. This isn't implemented. Fix this by making the parameters pointers, stop reusing the macaddr struct member, and documenting that NULL pointers mean unchanged. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
30841f5cde
commit
b0265024b8
3 changed files with 14 additions and 13 deletions
|
@ -370,13 +370,16 @@ static inline void wiphy_read_of_freq_limits(struct wiphy *wiphy)
|
|||
* This feature is only fully supported by drivers that enable the
|
||||
* %NL80211_FEATURE_MAC_ON_CREATE flag. Others may support creating
|
||||
** only p2p devices with specified MAC.
|
||||
* @vht_mumimo_groups: MU-MIMO groupID. used for monitoring only
|
||||
* packets belonging to that MU-MIMO groupID.
|
||||
* @vht_mumimo_groups: MU-MIMO groupID, used for monitoring MU-MIMO packets
|
||||
* belonging to that MU-MIMO groupID; %NULL if not changed
|
||||
* @vht_mumimo_follow_addr: MU-MIMO follow address, used for monitoring
|
||||
* MU-MIMO packets going to the specified station; %NULL if not changed
|
||||
*/
|
||||
struct vif_params {
|
||||
int use_4addr;
|
||||
u8 macaddr[ETH_ALEN];
|
||||
u8 vht_mumimo_groups[VHT_MUMIMO_GROUPS_DATA_LEN];
|
||||
const u8 *vht_mumimo_groups;
|
||||
const u8 *vht_mumimo_follow_addr;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue