Lines Matching +full:0 +full:x1b000000

24 	int c = 0;  in channel_of_freq()
29 return (c >= 14) ? 0 : ++c; in channel_of_freq()
33 return 0; in channel_of_freq()
36 #define OID_STRUCT(name,oid,s,t) [name] = {oid, 0, sizeof(s), t}
43 #define OID_UNKNOWN(name,oid) OID_STRUCT(name,oid,0,0)
46 OID_STRUCT(GEN_OID_MACADDRESS, 0x00000000, u8[6], OID_TYPE_ADDR),
47 OID_U32(GEN_OID_LINKSTATE, 0x00000001),
48 OID_UNKNOWN(GEN_OID_WATCHDOG, 0x00000002),
49 OID_UNKNOWN(GEN_OID_MIBOP, 0x00000003),
50 OID_UNKNOWN(GEN_OID_OPTIONS, 0x00000004),
51 OID_UNKNOWN(GEN_OID_LEDCONFIG, 0x00000005),
54 OID_U32_C(DOT11_OID_BSSTYPE, 0x10000000),
55 OID_STRUCT_C(DOT11_OID_BSSID, 0x10000001, u8[6], OID_TYPE_RAW),
56 OID_STRUCT_C(DOT11_OID_SSID, 0x10000002, struct obj_ssid,
58 OID_U32(DOT11_OID_STATE, 0x10000003),
59 OID_U32(DOT11_OID_AID, 0x10000004),
60 OID_STRUCT(DOT11_OID_COUNTRYSTRING, 0x10000005, u8[4], OID_TYPE_RAW),
61 OID_STRUCT_C(DOT11_OID_SSIDOVERRIDE, 0x10000006, struct obj_ssid,
64 OID_U32(DOT11_OID_MEDIUMLIMIT, 0x11000000),
65 OID_U32_C(DOT11_OID_BEACONPERIOD, 0x11000001),
66 OID_U32(DOT11_OID_DTIMPERIOD, 0x11000002),
67 OID_U32(DOT11_OID_ATIMWINDOW, 0x11000003),
68 OID_U32(DOT11_OID_LISTENINTERVAL, 0x11000004),
69 OID_U32(DOT11_OID_CFPPERIOD, 0x11000005),
70 OID_U32(DOT11_OID_CFPDURATION, 0x11000006),
72 OID_U32_C(DOT11_OID_AUTHENABLE, 0x12000000),
73 OID_U32_C(DOT11_OID_PRIVACYINVOKED, 0x12000001),
74 OID_U32_C(DOT11_OID_EXUNENCRYPTED, 0x12000002),
75 OID_U32_C(DOT11_OID_DEFKEYID, 0x12000003),
76 [DOT11_OID_DEFKEYX] = {0x12000004, 3, sizeof (struct obj_key),
78 OID_UNKNOWN(DOT11_OID_STAKEY, 0x12000008),
79 OID_U32(DOT11_OID_REKEYTHRESHOLD, 0x12000009),
80 OID_UNKNOWN(DOT11_OID_STASC, 0x1200000a),
82 OID_U32(DOT11_OID_PRIVTXREJECTED, 0x1a000000),
83 OID_U32(DOT11_OID_PRIVRXPLAIN, 0x1a000001),
84 OID_U32(DOT11_OID_PRIVRXFAILED, 0x1a000002),
85 OID_U32(DOT11_OID_PRIVRXNOKEY, 0x1a000003),
87 OID_U32_C(DOT11_OID_RTSTHRESH, 0x13000000),
88 OID_U32_C(DOT11_OID_FRAGTHRESH, 0x13000001),
89 OID_U32_C(DOT11_OID_SHORTRETRIES, 0x13000002),
90 OID_U32_C(DOT11_OID_LONGRETRIES, 0x13000003),
91 OID_U32_C(DOT11_OID_MAXTXLIFETIME, 0x13000004),
92 OID_U32(DOT11_OID_MAXRXLIFETIME, 0x13000005),
93 OID_U32(DOT11_OID_AUTHRESPTIMEOUT, 0x13000006),
94 OID_U32(DOT11_OID_ASSOCRESPTIMEOUT, 0x13000007),
96 OID_UNKNOWN(DOT11_OID_ALOFT_TABLE, 0x1d000000),
97 OID_UNKNOWN(DOT11_OID_ALOFT_CTRL_TABLE, 0x1d000001),
98 OID_UNKNOWN(DOT11_OID_ALOFT_RETREAT, 0x1d000002),
99 OID_UNKNOWN(DOT11_OID_ALOFT_PROGRESS, 0x1d000003),
100 OID_U32(DOT11_OID_ALOFT_FIXEDRATE, 0x1d000004),
101 OID_UNKNOWN(DOT11_OID_ALOFT_RSSIGRAPH, 0x1d000005),
102 OID_UNKNOWN(DOT11_OID_ALOFT_CONFIG, 0x1d000006),
104 [DOT11_OID_VDCFX] = {0x1b000000, 7, 0, 0},
105 OID_U32(DOT11_OID_MAXFRAMEBURST, 0x1b000008),
107 OID_U32(DOT11_OID_PSM, 0x14000000),
108 OID_U32(DOT11_OID_CAMTIMEOUT, 0x14000001),
109 OID_U32(DOT11_OID_RECEIVEDTIMS, 0x14000002),
110 OID_U32(DOT11_OID_ROAMPREFERENCE, 0x14000003),
112 OID_U32(DOT11_OID_BRIDGELOCAL, 0x15000000),
113 OID_U32(DOT11_OID_CLIENTS, 0x15000001),
114 OID_U32(DOT11_OID_CLIENTSASSOCIATED, 0x15000002),
115 [DOT11_OID_CLIENTX] = {0x15000003, 2006, 0, 0}, /* DOT11_OID_CLIENTX,...DOT11_OID_CLIENT2007 */
117 OID_STRUCT(DOT11_OID_CLIENTFIND, 0x150007DB, u8[6], OID_TYPE_ADDR),
118 OID_STRUCT(DOT11_OID_WDSLINKADD, 0x150007DC, u8[6], OID_TYPE_ADDR),
119 OID_STRUCT(DOT11_OID_WDSLINKREMOVE, 0x150007DD, u8[6], OID_TYPE_ADDR),
120 OID_STRUCT(DOT11_OID_EAPAUTHSTA, 0x150007DE, u8[6], OID_TYPE_ADDR),
121 OID_STRUCT(DOT11_OID_EAPUNAUTHSTA, 0x150007DF, u8[6], OID_TYPE_ADDR),
122 OID_U32_C(DOT11_OID_DOT1XENABLE, 0x150007E0),
123 OID_UNKNOWN(DOT11_OID_MICFAILURE, 0x150007E1),
124 OID_UNKNOWN(DOT11_OID_REKEYINDICATE, 0x150007E2),
126 OID_U32(DOT11_OID_MPDUTXSUCCESSFUL, 0x16000000),
127 OID_U32(DOT11_OID_MPDUTXONERETRY, 0x16000001),
128 OID_U32(DOT11_OID_MPDUTXMULTIPLERETRIES, 0x16000002),
129 OID_U32(DOT11_OID_MPDUTXFAILED, 0x16000003),
130 OID_U32(DOT11_OID_MPDURXSUCCESSFUL, 0x16000004),
131 OID_U32(DOT11_OID_MPDURXDUPS, 0x16000005),
132 OID_U32(DOT11_OID_RTSSUCCESSFUL, 0x16000006),
133 OID_U32(DOT11_OID_RTSFAILED, 0x16000007),
134 OID_U32(DOT11_OID_ACKFAILED, 0x16000008),
135 OID_U32(DOT11_OID_FRAMERECEIVES, 0x16000009),
136 OID_U32(DOT11_OID_FRAMEERRORS, 0x1600000A),
137 OID_U32(DOT11_OID_FRAMEABORTS, 0x1600000B),
138 OID_U32(DOT11_OID_FRAMEABORTSPHY, 0x1600000C),
140 OID_U32(DOT11_OID_SLOTTIME, 0x17000000),
141 OID_U32(DOT11_OID_CWMIN, 0x17000001),
142 OID_U32(DOT11_OID_CWMAX, 0x17000002),
143 OID_U32(DOT11_OID_ACKWINDOW, 0x17000003),
144 OID_U32(DOT11_OID_ANTENNARX, 0x17000004),
145 OID_U32(DOT11_OID_ANTENNATX, 0x17000005),
146 OID_U32(DOT11_OID_ANTENNADIVERSITY, 0x17000006),
147 OID_U32_C(DOT11_OID_CHANNEL, 0x17000007),
148 OID_U32_C(DOT11_OID_EDTHRESHOLD, 0x17000008),
149 OID_U32(DOT11_OID_PREAMBLESETTINGS, 0x17000009),
150 OID_STRUCT(DOT11_OID_RATES, 0x1700000A, u8[IWMAX_BITRATES + 1],
152 OID_U32(DOT11_OID_CCAMODESUPPORTED, 0x1700000B),
153 OID_U32(DOT11_OID_CCAMODE, 0x1700000C),
154 OID_UNKNOWN(DOT11_OID_RSSIVECTOR, 0x1700000D),
155 OID_UNKNOWN(DOT11_OID_OUTPUTPOWERTABLE, 0x1700000E),
156 OID_U32(DOT11_OID_OUTPUTPOWER, 0x1700000F),
157 OID_STRUCT(DOT11_OID_SUPPORTEDRATES, 0x17000010,
159 OID_U32_C(DOT11_OID_FREQUENCY, 0x17000011),
161 {0x17000012, 0, sizeof (struct obj_frequencies)
164 OID_U32(DOT11_OID_NOISEFLOOR, 0x17000013),
165 OID_STRUCT(DOT11_OID_FREQUENCYACTIVITY, 0x17000014, u8[IWMAX_FREQ + 1],
167 OID_UNKNOWN(DOT11_OID_IQCALIBRATIONTABLE, 0x17000015),
168 OID_U32(DOT11_OID_NONERPPROTECTION, 0x17000016),
169 OID_U32(DOT11_OID_SLOTSETTINGS, 0x17000017),
170 OID_U32(DOT11_OID_NONERPTIMEOUT, 0x17000018),
171 OID_U32(DOT11_OID_PROFILES, 0x17000019),
172 OID_STRUCT(DOT11_OID_EXTENDEDRATES, 0x17000020,
175 OID_STRUCT_MLME(DOT11_OID_DEAUTHENTICATE, 0x18000000),
176 OID_STRUCT_MLME(DOT11_OID_AUTHENTICATE, 0x18000001),
177 OID_STRUCT_MLME(DOT11_OID_DISASSOCIATE, 0x18000002),
178 OID_STRUCT_MLME(DOT11_OID_ASSOCIATE, 0x18000003),
179 OID_UNKNOWN(DOT11_OID_SCAN, 0x18000004),
180 OID_STRUCT_MLMEEX(DOT11_OID_BEACON, 0x18000005),
181 OID_STRUCT_MLMEEX(DOT11_OID_PROBE, 0x18000006),
182 OID_STRUCT_MLMEEX(DOT11_OID_DEAUTHENTICATEEX, 0x18000007),
183 OID_STRUCT_MLMEEX(DOT11_OID_AUTHENTICATEEX, 0x18000008),
184 OID_STRUCT_MLMEEX(DOT11_OID_DISASSOCIATEEX, 0x18000009),
185 OID_STRUCT_MLMEEX(DOT11_OID_ASSOCIATEEX, 0x1800000A),
186 OID_STRUCT_MLMEEX(DOT11_OID_REASSOCIATE, 0x1800000B),
187 OID_STRUCT_MLMEEX(DOT11_OID_REASSOCIATEEX, 0x1800000C),
189 OID_U32(DOT11_OID_NONERPSTATUS, 0x1E000000),
191 OID_U32(DOT11_OID_STATIMEOUT, 0x19000000),
192 OID_U32_C(DOT11_OID_MLMEAUTOLEVEL, 0x19000001),
193 OID_U32(DOT11_OID_BSSTIMEOUT, 0x19000002),
194 [DOT11_OID_ATTACHMENT] = {0x19000003, 0,
196 OID_STRUCT_C(DOT11_OID_PSMBUFFER, 0x19000004, struct obj_buffer,
199 OID_U32(DOT11_OID_BSSS, 0x1C000000),
200 [DOT11_OID_BSSX] = {0x1C000001, 63, sizeof (struct obj_bss),
202 OID_STRUCT(DOT11_OID_BSSFIND, 0x1C000042, struct obj_bss, OID_TYPE_BSS),
203 [DOT11_OID_BSSLIST] = {0x1C000043, 0, sizeof (struct
208 OID_UNKNOWN(OID_INL_TUNNEL, 0xFF020000),
209 OID_UNKNOWN(OID_INL_MEMADDR, 0xFF020001),
210 OID_UNKNOWN(OID_INL_MEMORY, 0xFF020002),
211 OID_U32_C(OID_INL_MODE, 0xFF020003),
212 OID_UNKNOWN(OID_INL_COMPONENT_NR, 0xFF020004),
213 OID_STRUCT(OID_INL_VERSION, 0xFF020005, u8[8], OID_TYPE_RAW),
214 OID_UNKNOWN(OID_INL_INTERFACE_ID, 0xFF020006),
215 OID_UNKNOWN(OID_INL_COMPONENT_ID, 0xFF020007),
216 OID_U32_C(OID_INL_CONFIG, 0xFF020008),
217 OID_U32_C(OID_INL_DOT11D_CONFORMANCE, 0xFF02000C),
218 OID_U32(OID_INL_PHYCAPABILITIES, 0xFF02000D),
219 OID_U32_C(OID_INL_OUTPUTPOWER, 0xFF02000F),
233 for (i = 0; i < OID_NUM_LAST; i++) { in mgt_init()
247 return 0; in mgt_init()
257 for (i = 0; i < OID_NUM_LAST; i++) { in mgt_clean()
291 for (i = 0; i < list->nr; i++) in mgt_le_to_cpu()
299 for (i = 0; i < freq->nr; i++) in mgt_le_to_cpu()
360 for (i = 0; i < list->nr; i++) in mgt_cpu_to_le()
368 for (i = 0; i < freq->nr; i++) in mgt_cpu_to_le()
408 int ret = 0; in mgt_set_request()
424 cache += (cache ? extra * dlen : 0); in mgt_set_request()
470 int ret = 0; in mgt_set_varlen()
508 int reslen = 0; in mgt_get_request()
526 cache += cache ? extra * dlen : 0; in mgt_get_request()
548 ret = 0; in mgt_get_request()
551 res->u = ret ? 0 : le32_to_cpu(*(u32 *) _res); in mgt_get_request()
556 memset(res->ptr, 0, reslen); in mgt_get_request()
571 "mgt_get_request(0x%x): received data length was bigger " in mgt_get_request()
582 int i, ret = 0; in mgt_commit_list()
585 for (i = 0; i < n; i++) { in mgt_commit_list()
588 int j = 0; in mgt_commit_list()
671 if ((ret == 0) && res && (res->header->operation != PIMFOR_OP_ERROR)) in mgt_update_addr()
690 return 0; in mgt_commit()
716 #if 0
721 int rvalue = 0;
729 #if 0
769 for (i = 0; i < OID_NUM_LAST; i++) in mgt_oidtonum()
773 printk(KERN_DEBUG "looking for an unknown oid 0x%x", oid); in mgt_oidtonum()
787 "size=%u\naddr=0x%X\n", buff->size, in mgt_response_to_str()
795 "capinfo=0x%X\nrates=0x%X\n" in mgt_response_to_str()
796 "basic_rates=0x%X\n", bss->age, in mgt_response_to_str()
805 for (i = 0; i < list->nr; i++) in mgt_response_to_str()
808 "capinfo=0x%X\nrates=0x%X\n" in mgt_response_to_str()
809 "basic_rates=0x%X\n", in mgt_response_to_str()
823 for (i = 0; i < freq->nr; i++) in mgt_response_to_str()
832 "id=0x%X\nstate=0x%X\ncode=0x%X\n", in mgt_response_to_str()
839 "id=0x%X\nstate=0x%X\n" in mgt_response_to_str()
840 "code=0x%X\nsize=0x%X\n", mlme->id, in mgt_response_to_str()
864 "type=0x%X\nlength=0x%X\nkey=0x", in mgt_response_to_str()
866 for (i = 0; i < key->length; i++) in mgt_response_to_str()
878 for (i = 0; i < isl_oid[n].size; i++) in mgt_response_to_str()
888 return 0; in mgt_response_to_str()