Lines Matching +full:1 +full:ac

90 	char *end = buf + sizeof(buf) - 1;  in sta_flags_read()
112 int ac; in sta_num_ps_buf_frames_read() local
114 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_num_ps_buf_frames_read()
115 p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac, in sta_num_ps_buf_frames_read()
116 skb_queue_len(&sta->ps_tx_buf[ac]) + in sta_num_ps_buf_frames_read()
117 skb_queue_len(&sta->tx_filtered[ac])); in sta_num_ps_buf_frames_read()
163 …"tid ac backlog-bytes backlog-packets new-flows drops marks overlimit collisions tx-bytes tx-packe… in sta_aqm_read()
172 txqi->txq.ac, in sta_aqm_read()
207 int ac; in sta_airtime_read() local
212 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_airtime_read()
213 spin_lock_bh(&local->active_txq_lock[ac]); in sta_airtime_read()
214 rx_airtime += sta->airtime[ac].rx_airtime; in sta_airtime_read()
215 tx_airtime += sta->airtime[ac].tx_airtime; in sta_airtime_read()
216 deficit[ac] = sta->airtime[ac].deficit; in sta_airtime_read()
217 spin_unlock_bh(&local->active_txq_lock[ac]); in sta_airtime_read()
224 deficit[0], deficit[1], deficit[2], deficit[3]); in sta_airtime_read()
236 int ac; in sta_airtime_write() local
238 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_airtime_write()
239 spin_lock_bh(&local->active_txq_lock[ac]); in sta_airtime_write()
240 sta->airtime[ac].rx_airtime = 0; in sta_airtime_write()
241 sta->airtime[ac].tx_airtime = 0; in sta_airtime_write()
242 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write()
243 spin_unlock_bh(&local->active_txq_lock[ac]); in sta_airtime_write()
260 int ac; in sta_aql_read() local
265 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_aql_read()
266 spin_lock_bh(&local->active_txq_lock[ac]); in sta_aql_read()
267 q_limit_l[ac] = sta->airtime[ac].aql_limit_low; in sta_aql_read()
268 q_limit_h[ac] = sta->airtime[ac].aql_limit_high; in sta_aql_read()
269 spin_unlock_bh(&local->active_txq_lock[ac]); in sta_aql_read()
270 q_depth[ac] = atomic_read(&sta->airtime[ac].aql_tx_pending); in sta_aql_read()
276 q_depth[0], q_depth[1], q_depth[2], q_depth[3], in sta_aql_read()
277 q_limit_l[0], q_limit_h[0], q_limit_l[1], q_limit_h[1], in sta_aql_read()
289 u32 ac, q_limit_l, q_limit_h; in sta_aql_write() local
298 buf[sizeof(_buf) - 1] = '\0'; in sta_aql_write()
299 if (sscanf(buf, "limit %u %u %u", &ac, &q_limit_l, &q_limit_h) in sta_aql_write()
303 if (ac >= IEEE80211_NUM_ACS) in sta_aql_write()
306 sta->airtime[ac].aql_limit_low = q_limit_l; in sta_aql_write()
307 sta->airtime[ac].aql_limit_high = q_limit_h; in sta_aql_write()
333 sta->ampdu_mlme.dialog_token_allocator + 1); in sta_agg_status_read()
383 buf[sizeof(_buf) - 1] = '\0'; in sta_agg_status_write()
412 if (sscanf(buf, "timeout=%d", &timeout) == 1) { in sta_agg_status_write()
464 PRINT_HT_CAP((htc->cap & BIT(1)), "HT20/HT40"); in sta_ht_capa_read()
465 PRINT_HT_CAP(!(htc->cap & BIT(1)), "HT20"); in sta_ht_capa_read()
468 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 1, "Dynamic SM Power Save"); in sta_ht_capa_read()
477 PRINT_HT_CAP(((htc->cap >> 8) & 0x3) == 1, "RX STBC 1-stream"); in sta_ht_capa_read()
669 cap[0], cap[1], cap[2], cap[3], cap[4], cap[5]); in sta_he_capa_read()
684 u8 idx = ((cap[i] & msk) >> (ffs(msk) - 1)) + off; \ in sta_he_capa_read()
700 PFLAG_RANGE_DEFAULT(MAC, 0, DYNAMIC_FRAG, 0, 1, 0, in sta_he_capa_read()
702 PFLAG_RANGE_DEFAULT(MAC, 0, MAX_NUM_FRAG_MSDU, 1, 0, 0, in sta_he_capa_read()
705 PFLAG_RANGE_DEFAULT(MAC, 1, MIN_FRAG_SIZE, 128, 0, -1, in sta_he_capa_read()
707 PFLAG_RANGE_DEFAULT(MAC, 1, TF_MAC_PAD_DUR, 0, 8, 0, in sta_he_capa_read()
709 PFLAG_RANGE(MAC, 1, MULTI_TID_AGG_RX_QOS, 0, 1, 1, in sta_he_capa_read()
713 switch (((cap[2] << 1) | (cap[1] >> 7)) & 0x3) { in sta_he_capa_read()
717 case 1: in sta_he_capa_read()
745 PRINT("MAX-AMPDU-LEN-EXP-VHT-EXT-1"); in sta_he_capa_read()
767 PRINT("MULTI-TID-AGG-TX-QOS-%d", ((cap[5] << 1) | (cap[4] >> 7)) & 0x7); in sta_he_capa_read()
780 cap[0], cap[1], cap[2], cap[3], cap[4], cap[5], cap[6], in sta_he_capa_read()
796 switch (cap[1] & IEEE80211_HE_PHY_CAP1_PREAMBLE_PUNC_RX_MASK) { in sta_he_capa_read()
811 PFLAG(PHY, 1, DEVICE_CLASS_A, in sta_he_capa_read()
813 PFLAG(PHY, 1, LDPC_CODING_IN_PAYLOAD, in sta_he_capa_read()
815 PFLAG(PHY, 1, HE_LTF_AND_GI_FOR_HE_PPDUS_0_8US, in sta_he_capa_read()
817 PRINT("MIDAMBLE-RX-MAX-NSTS-%d", ((cap[2] << 1) | (cap[1] >> 7)) & 0x3); in sta_he_capa_read()
842 PFLAG(PHY, 3, DCM_MAX_TX_NSS_1, "DCM-MAX-TX-NSS-1"); in sta_he_capa_read()
860 PFLAG(PHY, 3, DCM_MAX_RX_NSS_1, "DCM-MAX-RX-NSS-1"); in sta_he_capa_read()
869 PFLAG_RANGE(PHY, 4, BEAMFORMEE_MAX_STS_UNDER_80MHZ, 0, 1, 4, in sta_he_capa_read()
871 PFLAG_RANGE(PHY, 4, BEAMFORMEE_MAX_STS_ABOVE_80MHZ, 0, 1, 4, in sta_he_capa_read()
874 PFLAG_RANGE(PHY, 5, BEAMFORMEE_NUM_SND_DIM_UNDER_80MHZ, 0, 1, 1, in sta_he_capa_read()
876 PFLAG_RANGE(PHY, 5, BEAMFORMEE_NUM_SND_DIM_ABOVE_80MHZ, 0, 1, 1, in sta_he_capa_read()
896 PFLAG_RANGE(PHY, 7, MAX_NC, 0, 1, 1, "MAX-NC-%d"); in sta_he_capa_read()
907 "HE-ER-SU-1XLTF-AND-08-US-GI"); in sta_he_capa_read()
909 "MIDAMBLE-RX-TX-2X-AND-1XLTF"); in sta_he_capa_read()
966 case 1: \ in sta_he_capa_read()
1003 for (i = 1; i < ppe_size; i++) { in sta_he_capa_read()