hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/wireless/intel/iwlwifi/mvm/sf.c
....@@ -7,6 +7,7 @@
77 *
88 * Copyright(c) 2013 - 2014 Intel Corporation. All rights reserved.
99 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
10
+ * Copyright (C) 2018-2019 Intel Corporation
1011 *
1112 * This program is free software; you can redistribute it and/or modify
1213 * it under the terms of version 2 of the GNU General Public License as
....@@ -16,11 +17,6 @@
1617 * WITHOUT ANY WARRANTY; without even the implied warranty of
1718 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1819 * General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU General Public License
21
- * along with this program; if not, write to the Free Software
22
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
23
- * USA
2420 *
2521 * The full GNU General Public License is included in this distribution
2622 * in the file called COPYING.
....@@ -33,6 +29,7 @@
3329 *
3430 * Copyright(c) 2013 - 2014 Intel Corporation. All rights reserved.
3531 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
32
+ * Copyright (C) 2018-2019 Intel Corporation
3633 * All rights reserved.
3734 *
3835 * Redistribution and use in source and binary forms, with or without
....@@ -69,7 +66,7 @@
6966 struct ieee80211_vif *ignore_vif;
7067 u8 sta_vif_ap_sta_id;
7168 enum iwl_sf_state sta_vif_state;
72
- int num_active_macs;
69
+ u32 num_active_macs;
7370 };
7471
7572 /*
....@@ -165,7 +162,9 @@
165162 * capabilities of the AP station, and choose the watermark accordingly.
166163 */
167164 if (sta) {
168
- if (sta->ht_cap.ht_supported || sta->vht_cap.vht_supported) {
165
+ if (sta->ht_cap.ht_supported ||
166
+ sta->vht_cap.vht_supported ||
167
+ sta->he_cap.has_he) {
169168 switch (sta->rx_nss) {
170169 case 1:
171170 watermark = SF_W_MARK_SISO;