Lines Matching refs:capa
728 __u16 count, capa;
799 capa = data[0] | (data[1] << 8);
802 if (capa & 0x0001)
804 if (capa & 0x0002)
806 switch ((capa & 0x000c) >> 2) {
820 switch ((capa & 0x0030) >> 4) {
834 if (capa & 0x0040)
836 if (capa & 0x0080)
838 if (capa & 0x0200)
840 if (capa & 0x0400)
842 if (capa & 0x0800)
844 printf(" (0x%.4x)\n", capa);
1113 #define CAPA(bit, name) case bit: printf(" " name); break
1116 CAPA(0, "HT Information Exchange Supported");
1117 CAPA(1, "reserved (On-demand Beacon)");
1118 CAPA(2, "Extended Channel Switching");
1119 CAPA(3, "reserved (Wave Indication)");
1120 CAPA(4, "PSMP Capability");
1121 CAPA(5, "reserved (Service Interval Granularity)");
1122 CAPA(6, "S-PSMP Capability");
1123 CAPA(7, "Event");
1124 CAPA(8, "Diagnostics");
1125 CAPA(9, "Multicast Diagnostics");
1126 CAPA(10, "Location Tracking");
1127 CAPA(11, "FMS");
1128 CAPA(12, "Proxy ARP Service");
1129 CAPA(13, "Collocated Interference Reporting");
1130 CAPA(14, "Civic Location");
1131 CAPA(15, "Geospatial Location");
1132 CAPA(16, "TFS");
1133 CAPA(17, "WNM-Sleep Mode");
1134 CAPA(18, "TIM Broadcast");
1135 CAPA(19, "BSS Transition");
1136 CAPA(20, "QoS Traffic Capability");
1137 CAPA(21, "AC Station Count");
1138 CAPA(22, "Multiple BSSID");
1139 CAPA(23, "Timing Measurement");
1140 CAPA(24, "Channel Usage");
1141 CAPA(25, "SSID List");
1142 CAPA(26, "DMS");
1143 CAPA(27, "UTC TSF Offset");
1144 CAPA(28, "TDLS Peer U-APSD Buffer STA Support");
1145 CAPA(29, "TDLS Peer PSM Support");
1146 CAPA(30, "TDLS channel switching");
1147 CAPA(31, "Interworking");
1148 CAPA(32, "QoS Map");
1149 CAPA(33, "EBR");
1150 CAPA(34, "SSPN Interface");
1151 CAPA(35, "Reserved");
1152 CAPA(36, "MSGCF Capability");
1153 CAPA(37, "TDLS Support");
1154 CAPA(38, "TDLS Prohibited");
1155 CAPA(39, "TDLS Channel Switching Prohibited");
1156 CAPA(40, "Reject Unadmitted Frame");
1157 CAPA(44, "Identifier Location");
1158 CAPA(45, "U-APSD Coexistence");
1159 CAPA(46, "WNM-Notification");
1160 CAPA(47, "Reserved");
1161 CAPA(48, "UTF-8 SSID");
1166 #undef CAPA
1630 printf("\t * Group capa: 0x%.2x, Device capa: 0x%.2x\n",
1784 static void print_capa_dmg(__u16 capa)
1786 switch (capa & WLAN_CAPABILITY_DMG_TYPE_MASK) {
1798 if (capa & WLAN_CAPABILITY_DMG_CBAP_ONLY)
1800 if (capa & WLAN_CAPABILITY_DMG_CBAP_SOURCE)
1802 if (capa & WLAN_CAPABILITY_DMG_PRIVACY)
1804 if (capa & WLAN_CAPABILITY_DMG_ECPAC)
1806 if (capa & WLAN_CAPABILITY_DMG_SPECTRUM_MGMT)
1808 if (capa & WLAN_CAPABILITY_DMG_RADIO_MEASURE)
1812 static void print_capa_non_dmg(__u16 capa)
1814 if (capa & WLAN_CAPABILITY_ESS)
1816 if (capa & WLAN_CAPABILITY_IBSS)
1818 if (capa & WLAN_CAPABILITY_CF_POLLABLE)
1820 if (capa & WLAN_CAPABILITY_CF_POLL_REQUEST)
1822 if (capa & WLAN_CAPABILITY_PRIVACY)
1824 if (capa & WLAN_CAPABILITY_SHORT_PREAMBLE)
1826 if (capa & WLAN_CAPABILITY_PBCC)
1828 if (capa & WLAN_CAPABILITY_CHANNEL_AGILITY)
1830 if (capa & WLAN_CAPABILITY_SPECTRUM_MGMT)
1832 if (capa & WLAN_CAPABILITY_QOS)
1834 if (capa & WLAN_CAPABILITY_SHORT_SLOT_TIME)
1836 if (capa & WLAN_CAPABILITY_APSD)
1838 if (capa & WLAN_CAPABILITY_RADIO_MEASURE)
1840 if (capa & WLAN_CAPABILITY_DSSS_OFDM)
1842 if (capa & WLAN_CAPABILITY_DEL_BACK)
1844 if (capa & WLAN_CAPABILITY_IMM_BACK)
1931 __u16 capa = nla_get_u16(bss[NL80211_BSS_CAPABILITY]);
1934 print_capa_dmg(capa);
1936 print_capa_non_dmg(capa);
1937 printf(" (0x%.4x)\n", capa);