mac80211: use QoS NDP for AP probing
When connected to a QoS/WMM AP, mac80211 should use a QoS NDP for probing it, instead of a regular non-QoS one, fix this. Change all the drivers to *not* allow QoS NDP for now, even though it looks like most of them should be OK with that. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -566,7 +566,7 @@ static int wl1251_build_null_data(struct wl1251 *wl)
|
||||
size = sizeof(struct wl12xx_null_data_template);
|
||||
ptr = NULL;
|
||||
} else {
|
||||
skb = ieee80211_nullfunc_get(wl->hw, wl->vif);
|
||||
skb = ieee80211_nullfunc_get(wl->hw, wl->vif, false);
|
||||
if (!skb)
|
||||
goto out;
|
||||
size = skb->len;
|
||||
|
@@ -1069,7 +1069,8 @@ int wl12xx_cmd_build_null_data(struct wl1271 *wl, struct wl12xx_vif *wlvif)
|
||||
ptr = NULL;
|
||||
} else {
|
||||
skb = ieee80211_nullfunc_get(wl->hw,
|
||||
wl12xx_wlvif_to_vif(wlvif));
|
||||
wl12xx_wlvif_to_vif(wlvif),
|
||||
false);
|
||||
if (!skb)
|
||||
goto out;
|
||||
size = skb->len;
|
||||
@@ -1096,7 +1097,7 @@ int wl12xx_cmd_build_klv_null_data(struct wl1271 *wl,
|
||||
struct sk_buff *skb = NULL;
|
||||
int ret = -ENOMEM;
|
||||
|
||||
skb = ieee80211_nullfunc_get(wl->hw, vif);
|
||||
skb = ieee80211_nullfunc_get(wl->hw, vif, false);
|
||||
if (!skb)
|
||||
goto out;
|
||||
|
||||
|
Reference in New Issue
Block a user