|
@@ -261,10 +261,16 @@ void __ieee80211_start_rx_ba_session(struct sta_info *sta,
|
|
.timeout = timeout,
|
|
.timeout = timeout,
|
|
.ssn = start_seq_num,
|
|
.ssn = start_seq_num,
|
|
};
|
|
};
|
|
-
|
|
|
|
int i, ret = -EOPNOTSUPP;
|
|
int i, ret = -EOPNOTSUPP;
|
|
u16 status = WLAN_STATUS_REQUEST_DECLINED;
|
|
u16 status = WLAN_STATUS_REQUEST_DECLINED;
|
|
|
|
|
|
|
|
+ if (tid >= IEEE80211_FIRST_TSPEC_TSID) {
|
|
|
|
+ ht_dbg(sta->sdata,
|
|
|
|
+ "STA %pM requests BA session on unsupported tid %d\n",
|
|
|
|
+ sta->sta.addr, tid);
|
|
|
|
+ goto end_no_lock;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (!sta->sta.ht_cap.ht_supported) {
|
|
if (!sta->sta.ht_cap.ht_supported) {
|
|
ht_dbg(sta->sdata,
|
|
ht_dbg(sta->sdata,
|
|
"STA %pM erroneously requests BA session on tid %d w/o QoS\n",
|
|
"STA %pM erroneously requests BA session on tid %d w/o QoS\n",
|