|
@@ -64,7 +64,7 @@ Signed-off-by: Johannes Berg <[email protected]>
|
|
|
else
|
|
|
cfg80211_rx_mlme_mgmt(sdata->dev, buf, len);
|
|
|
|
|
|
-@@ -4716,7 +4716,8 @@ void ieee80211_mgd_quiesce(struct ieee80
|
|
|
+@@ -4719,7 +4719,8 @@ void ieee80211_mgd_quiesce(struct ieee80
|
|
|
if (ifmgd->auth_data)
|
|
|
ieee80211_destroy_auth_data(sdata, false);
|
|
|
cfg80211_tx_mlme_mgmt(sdata->dev, frame_buf,
|
|
@@ -166,7 +166,7 @@ Signed-off-by: Johannes Berg <[email protected]>
|
|
|
|
|
|
--- a/net/wireless/nl80211.c
|
|
|
+++ b/net/wireless/nl80211.c
|
|
|
-@@ -732,6 +732,7 @@ static const struct nla_policy nl80211_p
|
|
|
+@@ -736,6 +736,7 @@ static const struct nla_policy nl80211_p
|
|
|
NLA_POLICY_EXACT_LEN(IEEE80211_S1G_CAPABILITY_LEN),
|
|
|
[NL80211_ATTR_S1G_CAPABILITY_MASK] =
|
|
|
NLA_POLICY_EXACT_LEN(IEEE80211_S1G_CAPABILITY_LEN),
|
|
@@ -174,7 +174,7 @@ Signed-off-by: Johannes Berg <[email protected]>
|
|
|
};
|
|
|
|
|
|
/* policy for the key attributes */
|
|
|
-@@ -15899,7 +15900,7 @@ static void nl80211_send_mlme_event(stru
|
|
|
+@@ -15903,7 +15904,7 @@ static void nl80211_send_mlme_event(stru
|
|
|
const u8 *buf, size_t len,
|
|
|
enum nl80211_commands cmd, gfp_t gfp,
|
|
|
int uapsd_queues, const u8 *req_ies,
|
|
@@ -183,7 +183,7 @@ Signed-off-by: Johannes Berg <[email protected]>
|
|
|
{
|
|
|
struct sk_buff *msg;
|
|
|
void *hdr;
|
|
|
-@@ -15921,6 +15922,9 @@ static void nl80211_send_mlme_event(stru
|
|
|
+@@ -15925,6 +15926,9 @@ static void nl80211_send_mlme_event(stru
|
|
|
nla_put(msg, NL80211_ATTR_REQ_IE, req_ies_len, req_ies)))
|
|
|
goto nla_put_failure;
|
|
|
|
|
@@ -193,7 +193,7 @@ Signed-off-by: Johannes Berg <[email protected]>
|
|
|
if (uapsd_queues >= 0) {
|
|
|
struct nlattr *nla_wmm =
|
|
|
nla_nest_start_noflag(msg, NL80211_ATTR_STA_WME);
|
|
|
-@@ -15949,7 +15953,8 @@ void nl80211_send_rx_auth(struct cfg8021
|
|
|
+@@ -15953,7 +15957,8 @@ void nl80211_send_rx_auth(struct cfg8021
|
|
|
size_t len, gfp_t gfp)
|
|
|
{
|
|
|
nl80211_send_mlme_event(rdev, netdev, buf, len,
|
|
@@ -203,7 +203,7 @@ Signed-off-by: Johannes Berg <[email protected]>
|
|
|
}
|
|
|
|
|
|
void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev,
|
|
|
-@@ -15959,23 +15964,25 @@ void nl80211_send_rx_assoc(struct cfg802
|
|
|
+@@ -15963,23 +15968,25 @@ void nl80211_send_rx_assoc(struct cfg802
|
|
|
{
|
|
|
nl80211_send_mlme_event(rdev, netdev, buf, len,
|
|
|
NL80211_CMD_ASSOCIATE, gfp, uapsd_queues,
|
|
@@ -234,7 +234,7 @@ Signed-off-by: Johannes Berg <[email protected]>
|
|
|
}
|
|
|
|
|
|
void cfg80211_rx_unprot_mlme_mgmt(struct net_device *dev, const u8 *buf,
|
|
|
-@@ -16006,7 +16013,7 @@ void cfg80211_rx_unprot_mlme_mgmt(struct
|
|
|
+@@ -16010,7 +16017,7 @@ void cfg80211_rx_unprot_mlme_mgmt(struct
|
|
|
|
|
|
trace_cfg80211_rx_unprot_mlme_mgmt(dev, buf, len);
|
|
|
nl80211_send_mlme_event(rdev, dev, buf, len, cmd, GFP_ATOMIC, -1,
|