Lines Matching full:cap
444 p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.4x\n", htc->cap); in sta_ht_capa_read()
446 PRINT_HT_CAP((htc->cap & BIT(0)), "RX LDPC"); in sta_ht_capa_read()
447 PRINT_HT_CAP((htc->cap & BIT(1)), "HT20/HT40"); in sta_ht_capa_read()
448 PRINT_HT_CAP(!(htc->cap & BIT(1)), "HT20"); in sta_ht_capa_read()
450 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 0, "Static SM Power Save"); in sta_ht_capa_read()
451 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 1, "Dynamic SM Power Save"); in sta_ht_capa_read()
452 PRINT_HT_CAP(((htc->cap >> 2) & 0x3) == 3, "SM Power Save disabled"); in sta_ht_capa_read()
454 PRINT_HT_CAP((htc->cap & BIT(4)), "RX Greenfield"); in sta_ht_capa_read()
455 PRINT_HT_CAP((htc->cap & BIT(5)), "RX HT20 SGI"); in sta_ht_capa_read()
456 PRINT_HT_CAP((htc->cap & BIT(6)), "RX HT40 SGI"); in sta_ht_capa_read()
457 PRINT_HT_CAP((htc->cap & BIT(7)), "TX STBC"); in sta_ht_capa_read()
459 PRINT_HT_CAP(((htc->cap >> 8) & 0x3) == 0, "No RX STBC"); in sta_ht_capa_read()
460 PRINT_HT_CAP(((htc->cap >> 8) & 0x3) == 1, "RX STBC 1-stream"); in sta_ht_capa_read()
461 PRINT_HT_CAP(((htc->cap >> 8) & 0x3) == 2, "RX STBC 2-streams"); in sta_ht_capa_read()
462 PRINT_HT_CAP(((htc->cap >> 8) & 0x3) == 3, "RX STBC 3-streams"); in sta_ht_capa_read()
464 PRINT_HT_CAP((htc->cap & BIT(10)), "HT Delayed Block Ack"); in sta_ht_capa_read()
466 PRINT_HT_CAP(!(htc->cap & BIT(11)), "Max AMSDU length: " in sta_ht_capa_read()
468 PRINT_HT_CAP((htc->cap & BIT(11)), "Max AMSDU length: " in sta_ht_capa_read()
477 PRINT_HT_CAP((htc->cap & BIT(12)), "DSSS/CCK HT40"); in sta_ht_capa_read()
478 PRINT_HT_CAP(!(htc->cap & BIT(12)), "No DSSS/CCK HT40"); in sta_ht_capa_read()
482 PRINT_HT_CAP((htc->cap & BIT(14)), "40 MHz Intolerant"); in sta_ht_capa_read()
484 PRINT_HT_CAP((htc->cap & BIT(15)), "L-SIG TXOP protection"); in sta_ht_capa_read()
520 p += scnprintf(p, sizeof(buf) + buf - p, "cap: %#.8x\n", in sta_vht_capa_read()
521 vhtc->cap); in sta_vht_capa_read()
524 if (vhtc->cap & IEEE80211_VHT_CAP_ ## a) \ in sta_vht_capa_read()
529 switch (vhtc->cap & 0x3) { in sta_vht_capa_read()
546 switch (vhtc->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) { in sta_vht_capa_read()
562 (vhtc->cap >> 2) & 0x3); in sta_vht_capa_read()
569 "\t\tRXSTBC_%d\n", (vhtc->cap >> 8) & 0x7); in sta_vht_capa_read()
574 (vhtc->cap & IEEE80211_VHT_CAP_BEAMFORMEE_STS_MASK) >> in sta_vht_capa_read()
578 (vhtc->cap & IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_MASK) in sta_vht_capa_read()
586 (vhtc->cap & IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK) >> in sta_vht_capa_read()
592 (vhtc->cap & IEEE80211_VHT_CAP_VHT_LINK_ADAPTATION_VHT_MRQ_MFB) >> 26); in sta_vht_capa_read()
624 u8 *cap; in sta_he_capa_read() local
638 cap = hec->he_cap_elem.mac_cap_info; in sta_he_capa_read()
640 "MAC-CAP: %#.2x %#.2x %#.2x %#.2x %#.2x %#.2x\n", in sta_he_capa_read()
641 cap[0], cap[1], cap[2], cap[3], cap[4], cap[5]); in sta_he_capa_read()
649 if (cap[n] & IEEE80211_HE_##t##_CAP##n##_##a) \ in sta_he_capa_read()
656 u8 idx = ((cap[i] & msk) >> (ffs(msk) - 1)) + off; \ in sta_he_capa_read()
662 if (cap[i] == IEEE80211_HE_##t ##_CAP##i##_##n##_##a) { \ in sta_he_capa_read()
684 if (cap[0] & IEEE80211_HE_MAC_CAP0_HTC_HE) { in sta_he_capa_read()
685 switch (((cap[2] << 1) | (cap[1] >> 7)) & 0x3) { in sta_he_capa_read()
712 switch (cap[3] & IEEE80211_HE_MAC_CAP3_MAX_AMPDU_LEN_EXP_MASK) { in sta_he_capa_read()
739 PRINT("MULTI-TID-AGG-TX-QOS-%d", ((cap[5] << 1) | (cap[4] >> 7)) & 0x7); in sta_he_capa_read()
749 cap = hec->he_cap_elem.phy_cap_info; in sta_he_capa_read()
751 "PHY CAP: %#.2x %#.2x %#.2x %#.2x %#.2x %#.2x %#.2x %#.2x %#.2x %#.2x %#.2x\n", in sta_he_capa_read()
752 cap[0], cap[1], cap[2], cap[3], cap[4], cap[5], cap[6], in sta_he_capa_read()
753 cap[7], cap[8], cap[9], cap[10]); in sta_he_capa_read()
768 switch (cap[1] & IEEE80211_HE_PHY_CAP1_PREAMBLE_PUNC_RX_MASK) { in sta_he_capa_read()
789 PRINT("MIDAMBLE-RX-MAX-NSTS-%d", ((cap[2] << 1) | (cap[1] >> 7)) & 0x3); in sta_he_capa_read()
799 switch (cap[3] & IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_TX_MASK) { in sta_he_capa_read()
817 switch (cap[3] & IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK) { in sta_he_capa_read()
882 switch (cap[8] & IEEE80211_HE_PHY_CAP8_DCM_MAX_RU_MASK) { in sta_he_capa_read()
910 switch (cap[9] & IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK) { in sta_he_capa_read()
952 if (cap[0] & IEEE80211_HE_PHY_CAP0_CHANNEL_WIDTH_SET_160MHZ_IN_5G) { in sta_he_capa_read()
957 if (cap[0] & in sta_he_capa_read()
966 if (!(cap[6] & IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT)) in sta_he_capa_read()
972 ppe_size = ieee80211_he_ppe_size(hec->ppe_thres[0], cap); in sta_he_capa_read()