| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_iw.c | 126 #define dtoh32(i) (i) macro 224 key->index = dtoh32(key->index); in swap_key_to_BE() 225 key->len = dtoh32(key->len); in swap_key_to_BE() 226 key->algo = dtoh32(key->algo); in swap_key_to_BE() 227 key->flags = dtoh32(key->flags); in swap_key_to_BE() 228 key->rxiv.hi = dtoh32(key->rxiv.hi); in swap_key_to_BE() 230 key->iv_initialized = dtoh32(key->iv_initialized); in swap_key_to_BE() 404 *retval = dtoh32(var.val); in dev_wlc_intvar_get() 514 ssid.SSID_len = dtoh32(ssid.SSID_len); in wl_iw_config_commit() 548 band[0] = dtoh32(band[0]); in wl_iw_get_name() [all …]
|
| H A D | wldev_common.c | 46 #define dtoh32(i) (i) macro 194 *pval = dtoh32(*pval); in wldev_iovar_getint() 319 *pval = dtoh32(*pval); in wldev_iovar_getint_bsscfg() 367 pssid->SSID_len = dtoh32(pssid->SSID_len); in wldev_get_ssid() 401 *datarate = dtoh32(*datarate); in wldev_get_datarate()
|
| H A D | wl_cfgscan.c | 343 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_cfg80211_remove_lowRSSI_info() 347 candidate[idx1].length == dtoh32(bss->length)) { in wl_cfg80211_remove_lowRSSI_info() 348 u32 delete_len = dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 364 cur_len += dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 429 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler() 430 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler() 431 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler() 443 bi_length = dtoh32(bi->length); in wl_escan_handler() 444 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler() 524 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) in wl_escan_handler() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_iw.c | 126 #define dtoh32(i) (i) macro 224 key->index = dtoh32(key->index); in swap_key_to_BE() 225 key->len = dtoh32(key->len); in swap_key_to_BE() 226 key->algo = dtoh32(key->algo); in swap_key_to_BE() 227 key->flags = dtoh32(key->flags); in swap_key_to_BE() 228 key->rxiv.hi = dtoh32(key->rxiv.hi); in swap_key_to_BE() 230 key->iv_initialized = dtoh32(key->iv_initialized); in swap_key_to_BE() 410 *retval = dtoh32(var.val); in dev_wlc_intvar_get() 520 ssid.SSID_len = dtoh32(ssid.SSID_len); in wl_iw_config_commit() 554 band[0] = dtoh32(band[0]); in wl_iw_get_name() [all …]
|
| H A D | wldev_common.c | 46 #define dtoh32(i) (i) macro 194 *pval = dtoh32(*pval); in wldev_iovar_getint() 319 *pval = dtoh32(*pval); in wldev_iovar_getint_bsscfg() 367 pssid->SSID_len = dtoh32(pssid->SSID_len); in wldev_get_ssid() 401 *datarate = dtoh32(*datarate); in wldev_get_datarate()
|
| H A D | wl_cfgscan.c | 348 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_cfg80211_remove_lowRSSI_info() 352 candidate[idx1].length == dtoh32(bss->length)) { in wl_cfg80211_remove_lowRSSI_info() 353 u32 delete_len = dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 369 cur_len += dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 434 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler() 435 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler() 436 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler() 448 bi_length = dtoh32(bi->length); in wl_escan_handler() 449 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler() 529 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) in wl_escan_handler() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_iw.c | 126 #define dtoh32(i) (i) macro 224 key->index = dtoh32(key->index); in swap_key_to_BE() 225 key->len = dtoh32(key->len); in swap_key_to_BE() 226 key->algo = dtoh32(key->algo); in swap_key_to_BE() 227 key->flags = dtoh32(key->flags); in swap_key_to_BE() 228 key->rxiv.hi = dtoh32(key->rxiv.hi); in swap_key_to_BE() 230 key->iv_initialized = dtoh32(key->iv_initialized); in swap_key_to_BE() 410 *retval = dtoh32(var.val); in dev_wlc_intvar_get() 520 ssid.SSID_len = dtoh32(ssid.SSID_len); in wl_iw_config_commit() 554 band[0] = dtoh32(band[0]); in wl_iw_get_name() [all …]
|
| H A D | wldev_common.c | 46 #define dtoh32(i) (i) macro 194 *pval = dtoh32(*pval); in wldev_iovar_getint() 319 *pval = dtoh32(*pval); in wldev_iovar_getint_bsscfg() 367 pssid->SSID_len = dtoh32(pssid->SSID_len); in wldev_get_ssid() 401 *datarate = dtoh32(*datarate); in wldev_get_datarate()
|
| H A D | wl_cfgscan.c | 348 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_cfg80211_remove_lowRSSI_info() 352 candidate[idx1].length == dtoh32(bss->length)) { in wl_cfg80211_remove_lowRSSI_info() 353 u32 delete_len = dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 369 cur_len += dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 434 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler() 435 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler() 436 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler() 448 bi_length = dtoh32(bi->length); in wl_escan_handler() 449 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler() 529 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) in wl_escan_handler() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_iw.c | 151 #define dtoh32(i) (i) macro 267 key->index = dtoh32(key->index); in swap_key_to_BE() 268 key->len = dtoh32(key->len); in swap_key_to_BE() 269 key->algo = dtoh32(key->algo); in swap_key_to_BE() 270 key->flags = dtoh32(key->flags); in swap_key_to_BE() 271 key->rxiv.hi = dtoh32(key->rxiv.hi); in swap_key_to_BE() 273 key->iv_initialized = dtoh32(key->iv_initialized); in swap_key_to_BE() 441 *retval = dtoh32(var.val); in dev_wlc_intvar_get() 548 ssid.SSID_len = dtoh32(ssid.SSID_len); in wl_iw_config_commit() 582 band[0] = dtoh32(band[0]); in wl_iw_get_name() [all …]
|
| H A D | wldev_common.c | 41 #define dtoh32(i) (bcmswap32(i)) macro 48 #define dtoh32(i) (i) macro 232 *pval = dtoh32(*pval); in wldev_iovar_getint() 357 *pval = dtoh32(*pval); in wldev_iovar_getint_bsscfg() 405 pssid->SSID_len = dtoh32(pssid->SSID_len); in wldev_get_ssid() 439 *datarate = dtoh32(*datarate); in wldev_get_datarate()
|
| H A D | wl_escan.c | 38 #define dtoh32(i) (i) macro 212 (struct wl_bss_info *)((uintptr) bss + dtoh32(bss->length)) : list->bss_info; in next_bss() 448 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_escan_remove_lowRSSI_info() 452 candidate[idx1].length == dtoh32(bss->length)) { in wl_escan_remove_lowRSSI_info() 453 u32 delete_len = dtoh32(bss->length); in wl_escan_remove_lowRSSI_info() 469 cur_len += dtoh32(bss->length); in wl_escan_remove_lowRSSI_info() 516 bi_length = dtoh32(bi->length); in wl_escan_ext_handler() 517 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_ext_handler() 549 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) in wl_escan_ext_handler() 598 if (dtoh32(bss->length) != bi_length) { in wl_escan_ext_handler() [all …]
|
| H A D | wl_cfgscan.c | 334 if (unlikely(dtoh32(bi->length) > WL_BSS_INFO_MAX)) { in wl_inform_single_bss() 880 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_cfg80211_remove_lowRSSI_info() 887 candidate[idx1].length == dtoh32(bss->length)) { in wl_cfg80211_remove_lowRSSI_info() 888 u32 delete_len = dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 904 cur_len += dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 994 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler() 995 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler() 996 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler() 1008 bi_length = dtoh32(bi->length); in wl_escan_handler() 1009 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler() [all …]
|
| H A D | dhd_linux_exportfs.c | 885 if (dtoh32(stats->pcie.l0_cnt) == 0) { in show_pwrstats_path() 889 pwrstats_sysfs.l0_cnt = dtoh32(stats->pcie.l0_cnt); in show_pwrstats_path() 890 pwrstats_sysfs.l0_dur_us = dtoh32(stats->pcie.l0_usecs); in show_pwrstats_path() 891 pwrstats_sysfs.l1_cnt = dtoh32(stats->pcie.l1_cnt); in show_pwrstats_path() 892 pwrstats_sysfs.l1_dur_us = dtoh32(stats->pcie.l1_usecs); in show_pwrstats_path() 893 pwrstats_sysfs.l1_1_cnt = dtoh32(stats->pcie.l1_1_cnt); in show_pwrstats_path() 894 pwrstats_sysfs.l1_1_dur_us = dtoh32(stats->pcie.l1_1_usecs); in show_pwrstats_path() 895 pwrstats_sysfs.l1_2_cnt = dtoh32(stats->pcie.l1_2_cnt); in show_pwrstats_path() 896 pwrstats_sysfs.l1_2_dur_us = dtoh32(stats->pcie.l1_2_usecs); in show_pwrstats_path() 897 pwrstats_sysfs.l2_cnt = dtoh32(stats->pcie.l2_cnt); in show_pwrstats_path() [all …]
|
| H A D | wl_android_ext.c | 63 #define dtoh32(i) i macro 563 val = dtoh32(val); in wl_ext_get_ioctl_ver() 761 for (i = 0; i < dtoh32(list->count); i++) { in wl_ext_channels() 763 dtoh32(list->element[i])); in wl_ext_channels() 1110 for (i=0; i<dtoh32(list->count); i++) { in wl_ext_get_default_chan() 1111 chan_tmp = dtoh32(list->element[i]); in wl_ext_get_default_chan() 1513 dtoh32(mkeep_alive_pktp->period_msec), in wl_ext_mkeep_alive() 2968 for (i = 0; i < dtoh32(list_count); i++) { in wl_construct_ctl_chanspec_list() 2970 chspec = (chanspec_t)dtoh32(((wl_uint32_list_t *)list)->element[i]); in wl_construct_ctl_chanspec_list() 2972 chspec = (chanspec_t)dtoh32 in wl_construct_ctl_chanspec_list() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_iw.c | 152 #define dtoh32(i) (i) macro 268 key->index = dtoh32(key->index); in swap_key_to_BE() 269 key->len = dtoh32(key->len); in swap_key_to_BE() 270 key->algo = dtoh32(key->algo); in swap_key_to_BE() 271 key->flags = dtoh32(key->flags); in swap_key_to_BE() 272 key->rxiv.hi = dtoh32(key->rxiv.hi); in swap_key_to_BE() 274 key->iv_initialized = dtoh32(key->iv_initialized); in swap_key_to_BE() 452 *retval = dtoh32(var.val); in dev_wlc_intvar_get() 559 ssid.SSID_len = dtoh32(ssid.SSID_len); in wl_iw_config_commit() 593 band[0] = dtoh32(band[0]); in wl_iw_get_name() [all …]
|
| H A D | wl_escan.c | 39 #define dtoh32(i) (i) macro 207 (struct wl_bss_info *)((uintptr) bss + dtoh32(bss->length)) : list->bss_info; in next_bss() 416 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_escan_remove_lowRSSI_info() 420 candidate[idx1].length == dtoh32(bss->length)) { in wl_escan_remove_lowRSSI_info() 421 u32 delete_len = dtoh32(bss->length); in wl_escan_remove_lowRSSI_info() 437 cur_len += dtoh32(bss->length); in wl_escan_remove_lowRSSI_info() 484 bi_length = dtoh32(bi->length); in wl_escan_handler() 485 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler() 517 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) in wl_escan_handler() 566 if (dtoh32(bss->length) != bi_length) { in wl_escan_handler() [all …]
|
| H A D | wldev_common.c | 45 #define dtoh32(i) (i) macro 199 *pval = dtoh32(*pval); in wldev_iovar_getint() 325 *pval = dtoh32(*pval); in wldev_iovar_getint_bsscfg() 373 pssid->SSID_len = dtoh32(pssid->SSID_len); in wldev_get_ssid() 407 *datarate = dtoh32(*datarate); in wldev_get_datarate()
|
| H A D | wl_android.c | 77 #define dtoh32(i) i macro 818 assoc_maclist->count = dtoh32(assoc_maclist->count); in wl_android_get_assoclist() 1042 rxrtry = dtoh32(sta->rx_pkts_retried); in wl_cfg80211_get_sta_info() 1043 rxmulti = dtoh32(sta->rx_mcast_pkts); in wl_cfg80211_get_sta_info() 1063 rxrtry = dtoh32(wlc_cnt->rxrtry); in wl_cfg80211_get_sta_info() 1064 rxmulti = dtoh32(wlc_cnt->rxmulti); in wl_cfg80211_get_sta_info() 1707 list->buflen = dtoh32(list->buflen); in wl_chanim_stats() 1708 list->version = dtoh32(list->version); in wl_chanim_stats() 1709 list->count = dtoh32(list->count); in wl_chanim_stats() 1723 stats->glitchcnt = dtoh32(stats->glitchcnt); in wl_chanim_stats() [all …]
|
| H A D | dhd_pno.c | 67 #define dtoh32(i) (bcmswap32(i)) macro 74 #define dtoh32(i) (i) macro 734 for (i = 0, j = 0; i < dtoh32(list->count) && i < *nchan; i++) { in _dhd_pno_get_channels() 736 if (dtoh32(list->element[i]) > CHANNEL_2G_MAX) in _dhd_pno_get_channels() 739 if (dtoh32(list->element[i]) <= CHANNEL_2G_MAX) in _dhd_pno_get_channels() 741 if (skip_dfs && is_dfs(dtoh32(list->element[i]))) in _dhd_pno_get_channels() 745 if (skip_dfs || !is_dfs(dtoh32(list->element[i]))) in _dhd_pno_get_channels() 749 if (skip_dfs && is_dfs(dtoh32(list->element[i]))) in _dhd_pno_get_channels() 752 if (dtoh32(list->element[i]) <= CHANNEL_5G_MAX) { in _dhd_pno_get_channels() 753 d_chan_list[j++] = (uint16) dtoh32(list->element[i]); in _dhd_pno_get_channels() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_iw.c | 151 #define dtoh32(i) (i) macro 267 key->index = dtoh32(key->index); in swap_key_to_BE() 268 key->len = dtoh32(key->len); in swap_key_to_BE() 269 key->algo = dtoh32(key->algo); in swap_key_to_BE() 270 key->flags = dtoh32(key->flags); in swap_key_to_BE() 271 key->rxiv.hi = dtoh32(key->rxiv.hi); in swap_key_to_BE() 273 key->iv_initialized = dtoh32(key->iv_initialized); in swap_key_to_BE() 441 *retval = dtoh32(var.val); in dev_wlc_intvar_get() 550 ssid.SSID_len = dtoh32(ssid.SSID_len); in wl_iw_config_commit() 584 band[0] = dtoh32(band[0]); in wl_iw_get_name() [all …]
|
| H A D | wldev_common.c | 41 #define dtoh32(i) (bcmswap32(i)) macro 48 #define dtoh32(i) (i) macro 232 *pval = dtoh32(*pval); in wldev_iovar_getint() 357 *pval = dtoh32(*pval); in wldev_iovar_getint_bsscfg() 405 pssid->SSID_len = dtoh32(pssid->SSID_len); in wldev_get_ssid() 439 *datarate = dtoh32(*datarate); in wldev_get_datarate()
|
| H A D | wl_escan.c | 38 #define dtoh32(i) (i) macro 212 (struct wl_bss_info *)((uintptr) bss + dtoh32(bss->length)) : list->bss_info; in next_bss() 448 bss = bss ? (wl_bss_info_v109_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_escan_remove_lowRSSI_info() 452 candidate[idx1].length == dtoh32(bss->length)) { in wl_escan_remove_lowRSSI_info() 453 u32 delete_len = dtoh32(bss->length); in wl_escan_remove_lowRSSI_info() 469 cur_len += dtoh32(bss->length); in wl_escan_remove_lowRSSI_info() 516 bi_length = dtoh32(bi->length); in wl_escan_ext_handler() 517 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_V109_FIXED_SIZE)) { in wl_escan_ext_handler() 549 bss = bss ? (wl_bss_info_v109_t *)((uintptr)bss + dtoh32(bss->length)) in wl_escan_ext_handler() 598 if (dtoh32(bss->length) != bi_length) { in wl_escan_ext_handler() [all …]
|
| H A D | wl_cfgscan.c | 330 if (unlikely(dtoh32(bi->length) > WL_BSS_INFO_MAX)) { in wl_inform_single_bss() 876 bss = bss ? (wl_bss_info_t *)((uintptr)bss + dtoh32(bss->length)) : in wl_cfg80211_remove_lowRSSI_info() 883 candidate[idx1].length == dtoh32(bss->length)) { in wl_cfg80211_remove_lowRSSI_info() 884 u32 delete_len = dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 900 cur_len += dtoh32(bss->length); in wl_cfg80211_remove_lowRSSI_info() 990 if ((dtoh32(escan_result->buflen) > (int)ESCAN_BUF_SIZE) || in wl_escan_handler() 991 (dtoh32(escan_result->buflen) < sizeof(wl_escan_result_t))) { in wl_escan_handler() 992 WL_ERR(("Invalid escan buffer len:%d\n", dtoh32(escan_result->buflen))); in wl_escan_handler() 1004 bi_length = dtoh32(bi->length); in wl_escan_handler() 1005 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler() [all …]
|
| H A D | dhd_linux_exportfs.c | 887 if (dtoh32(stats->pcie.l0_cnt) == 0) { in show_pwrstats_path() 891 pwrstats_sysfs.l0_cnt = dtoh32(stats->pcie.l0_cnt); in show_pwrstats_path() 892 pwrstats_sysfs.l0_dur_us = dtoh32(stats->pcie.l0_usecs); in show_pwrstats_path() 893 pwrstats_sysfs.l1_cnt = dtoh32(stats->pcie.l1_cnt); in show_pwrstats_path() 894 pwrstats_sysfs.l1_dur_us = dtoh32(stats->pcie.l1_usecs); in show_pwrstats_path() 895 pwrstats_sysfs.l1_1_cnt = dtoh32(stats->pcie.l1_1_cnt); in show_pwrstats_path() 896 pwrstats_sysfs.l1_1_dur_us = dtoh32(stats->pcie.l1_1_usecs); in show_pwrstats_path() 897 pwrstats_sysfs.l1_2_cnt = dtoh32(stats->pcie.l1_2_cnt); in show_pwrstats_path() 898 pwrstats_sysfs.l1_2_dur_us = dtoh32(stats->pcie.l1_2_usecs); in show_pwrstats_path() 899 pwrstats_sysfs.l2_cnt = dtoh32(stats->pcie.l2_cnt); in show_pwrstats_path() [all …]
|