old mode 100644new mode 100755.. | .. |
---|
187 | 187 | CONN_STATE_4WAY_M2 = 19, |
---|
188 | 188 | CONN_STATE_4WAY_M3 = 20, |
---|
189 | 189 | CONN_STATE_4WAY_M4 = 21, |
---|
190 | | - CONN_STATE_ADD_KEY = 22, |
---|
191 | | - CONN_STATE_CONNECTED = 23, |
---|
192 | | - CONN_STATE_GROUPKEY_M1 = 24, |
---|
193 | | - CONN_STATE_GROUPKEY_M2 = 25, |
---|
| 190 | + CONN_STATE_CONNECTED = 22, |
---|
| 191 | + CONN_STATE_GROUPKEY_M1 = 23, |
---|
| 192 | + CONN_STATE_GROUPKEY_M2 = 24, |
---|
194 | 193 | }; |
---|
195 | 194 | |
---|
196 | 195 | enum enq_pkt_type { |
---|
.. | .. |
---|
219 | 218 | #endif |
---|
220 | 219 | wl_chip_nv_path_list_ctrl_t nv_by_chip; |
---|
221 | 220 | country_list_t *country_head; |
---|
222 | | - int ioctl_ver; |
---|
223 | 221 | int band; |
---|
224 | 222 | int bw_cap[2]; |
---|
225 | 223 | wl_country_t cspec; |
---|
.. | .. |
---|
402 | 400 | int dhd_conf_get_otp(dhd_pub_t *dhd, si_t *sih); |
---|
403 | 401 | bool dhd_conf_legacy_msi_chip(dhd_pub_t *dhd); |
---|
404 | 402 | #endif |
---|
405 | | -#ifdef WL_CFG80211 |
---|
406 | | -bool dhd_conf_legacy_chip_check(dhd_pub_t *dhd); |
---|
407 | | -bool dhd_conf_new_chip_check(dhd_pub_t *dhd); |
---|
408 | | -bool dhd_conf_extsae_chip(dhd_pub_t *dhd); |
---|
409 | | -#endif |
---|
410 | 403 | void dhd_conf_set_path_params(dhd_pub_t *dhd, char *fw_path, char *nv_path); |
---|
411 | 404 | int dhd_conf_set_intiovar(dhd_pub_t *dhd, int ifidx, uint cmd, char *name, |
---|
412 | 405 | int val, int def, bool down); |
---|
413 | 406 | int dhd_conf_get_band(dhd_pub_t *dhd); |
---|
414 | | -int dhd_conf_country(dhd_pub_t *dhd, char *cmd, char *buf); |
---|
| 407 | +int dhd_conf_set_country(dhd_pub_t *dhd, wl_country_t *cspec); |
---|
415 | 408 | int dhd_conf_get_country(dhd_pub_t *dhd, wl_country_t *cspec); |
---|
| 409 | +int dhd_conf_map_country_list(dhd_pub_t *dhd, wl_country_t *cspec); |
---|
416 | 410 | #ifdef CCODE_LIST |
---|
417 | 411 | int dhd_ccode_map_country_list(dhd_pub_t *dhd, wl_country_t *cspec); |
---|
418 | 412 | #endif |
---|
| 413 | +int dhd_conf_fix_country(dhd_pub_t *dhd); |
---|
419 | 414 | bool dhd_conf_match_channel(dhd_pub_t *dhd, uint32 channel); |
---|
420 | 415 | void dhd_conf_set_wme(dhd_pub_t *dhd, int ifidx, int mode); |
---|
421 | 416 | void dhd_conf_set_mchan_bw(dhd_pub_t *dhd, int go, int source); |
---|
.. | .. |
---|
427 | 422 | uint dhd_conf_get_chip(void *context); |
---|
428 | 423 | uint dhd_conf_get_chiprev(void *context); |
---|
429 | 424 | int dhd_conf_get_pm(dhd_pub_t *dhd); |
---|
430 | | -int dhd_conf_reg2args(dhd_pub_t *dhd, char *cmd, bool set, uint32 index, uint32 *val); |
---|
431 | 425 | int dhd_conf_check_hostsleep(dhd_pub_t *dhd, int cmd, void *buf, int len, |
---|
432 | 426 | int *hostsleep_set, int *hostsleep_val, int *ret); |
---|
433 | 427 | void dhd_conf_get_hostsleep(dhd_pub_t *dhd, |
---|
.. | .. |
---|
446 | 440 | uint dhd_conf_get_insuspend(dhd_pub_t *dhd, uint mask); |
---|
447 | 441 | int dhd_conf_set_suspend_resume(dhd_pub_t *dhd, int suspend); |
---|
448 | 442 | void dhd_conf_postinit_ioctls(dhd_pub_t *dhd); |
---|
449 | | -#ifdef WL_STATIC_IF |
---|
450 | | -void dhd_conf_preinit_ioctls_sta(dhd_pub_t *dhd, int ifidx); |
---|
451 | | -#endif /* WL_STATIC_IF */ |
---|
452 | 443 | int dhd_conf_preinit(dhd_pub_t *dhd); |
---|
453 | 444 | int dhd_conf_reset(dhd_pub_t *dhd); |
---|
454 | 445 | int dhd_conf_attach(dhd_pub_t *dhd); |
---|