Home
last modified time | relevance | path

Searched refs:bi_length (Results 1 – 25 of 28) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_escan.c453 u32 bi_length; in wl_escan_handler() local
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()
487 bi_length); in wl_escan_handler()
510 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_handler()
566 if (dtoh32(bss->length) != bi_length) { in wl_escan_handler()
574 bss->SSID, &bi->BSSID, prev_len, bi_length); in wl_escan_handler()
576 if (list->buflen - prev_len + bi_length > ESCAN_BUF_SIZE) { in wl_escan_handler()
589 memmove((u8 *)bss + bi_length, in wl_escan_handler()
594 list->buflen += bi_length; in wl_escan_handler()
[all …]
H A Dwl_cfgp2p.h374 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length);
H A Ddhd_pno.c3673 u32 bi_length = 0; in dhd_process_full_gscan_result() local
3704 bi_length = dtoh32(bi->length); in dhd_process_full_gscan_result()
3705 if (bi_length != (dtoh32(gscan_result->buflen) - in dhd_process_full_gscan_result()
3707 DHD_ERROR(("Invalid bss_info length %d: ignoring\n", bi_length)); in dhd_process_full_gscan_result()
3712 if ((bi_ie_offset + bi_ie_length) > bi_length) { in dhd_process_full_gscan_result()
H A Dwl_cfg80211.c16202 u32 bi_length) in wl_p2p_find_peer_channel() argument
16212 p2p_dev_addr = wl_cfgp2p_retreive_p2p_dev_addr(bi, bi_length); in wl_p2p_find_peer_channel()
16246 u32 bi_length; in wl_escan_without_scan_cache() local
16276 bi_length = dtoh32(bi->length); in wl_escan_without_scan_cache()
16278 (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE))) { in wl_escan_without_scan_cache()
16291 if (wl_p2p_find_peer_channel(cfg, status, bi, bi_length)) { in wl_escan_without_scan_cache()
16385 u32 bi_length; in wl_escan_handler() local
16440 bi_length = dtoh32(bi->length); in wl_escan_handler()
16441 if (bi_length != (dtoh32(escan_result->buflen) - WL_ESCAN_RESULTS_FIXED_SIZE)) { in wl_escan_handler()
16442 WL_ERR(("Invalid bss_info length %d: ignoring\n", bi_length)); in wl_escan_handler()
[all …]
H A Dwl_cfgp2p.c2162 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length) in wl_cfgp2p_retreive_p2p_dev_addr() argument
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_escan.c485 u32 bi_length; in wl_escan_ext_handler() local
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()
519 bi_length); in wl_escan_ext_handler()
542 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_ext_handler()
598 if (dtoh32(bss->length) != bi_length) { in wl_escan_ext_handler()
606 bss->SSID, &bi->BSSID, prev_len, bi_length); in wl_escan_ext_handler()
608 if (list->buflen - prev_len + bi_length > ESCAN_BUF_SIZE) { in wl_escan_ext_handler()
621 memmove((u8 *)bss + bi_length, in wl_escan_ext_handler()
626 list->buflen += bi_length; in wl_escan_ext_handler()
[all …]
H A Dwl_cfgscan.c917 u32 bi_length; in wl_escan_handler() local
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()
1006 WL_ERR(("Invalid bss_info length %d: ignoring\n", bi_length)); in wl_escan_handler()
1033 p2p_dev_addr = wl_cfgp2p_retreive_p2p_dev_addr(bi, bi_length); in wl_escan_handler()
1096 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_handler()
1156 if (dtoh32(bss->length) != bi_length) { in wl_escan_handler()
1164 prev_len, bi_length)); in wl_escan_handler()
1166 if ((list->buflen - prev_len) + bi_length in wl_escan_handler()
1179 memmove((u8 *)bss + bi_length, in wl_escan_handler()
[all …]
H A Dwl_cfgp2p.h405 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length);
H A Ddhd_pno.c3981 u32 bi_length = 0; in dhd_process_full_gscan_result() local
4007 bi_length = dtoh32(bi->length); in dhd_process_full_gscan_result()
4008 if (bi_length != (dtoh32(gscan_result->buflen) - in dhd_process_full_gscan_result()
4010 DHD_ERROR(("Invalid bss_info length %d: ignoring\n", bi_length)); in dhd_process_full_gscan_result()
4015 if ((bi_ie_offset + bi_ie_length) > bi_length) { in dhd_process_full_gscan_result()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_escan.c485 u32 bi_length; in wl_escan_ext_handler() local
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()
519 bi_length); in wl_escan_ext_handler()
542 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_ext_handler()
598 if (dtoh32(bss->length) != bi_length) { in wl_escan_ext_handler()
606 bss->SSID, &bi->BSSID, prev_len, bi_length); in wl_escan_ext_handler()
608 if (list->buflen - prev_len + bi_length > ESCAN_BUF_SIZE) { in wl_escan_ext_handler()
621 memmove((u8 *)bss + bi_length, in wl_escan_ext_handler()
626 list->buflen += bi_length; in wl_escan_ext_handler()
[all …]
H A Dwl_cfgscan.c921 u32 bi_length; in wl_escan_handler() local
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()
1010 WL_ERR(("Invalid bss_info length %d: ignoring\n", bi_length)); in wl_escan_handler()
1037 p2p_dev_addr = wl_cfgp2p_retreive_p2p_dev_addr(bi, bi_length); in wl_escan_handler()
1100 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_handler()
1160 if (dtoh32(bss->length) != bi_length) { in wl_escan_handler()
1168 prev_len, bi_length)); in wl_escan_handler()
1170 if ((list->buflen - prev_len) + bi_length in wl_escan_handler()
1183 memmove((u8 *)bss + bi_length, in wl_escan_handler()
[all …]
H A Dwl_cfgp2p.h405 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length);
H A Ddhd_pno.c3981 u32 bi_length = 0; in dhd_process_full_gscan_result() local
4007 bi_length = dtoh32(bi->length); in dhd_process_full_gscan_result()
4008 if (bi_length != (dtoh32(gscan_result->buflen) - in dhd_process_full_gscan_result()
4010 DHD_ERROR(("Invalid bss_info length %d: ignoring\n", bi_length)); in dhd_process_full_gscan_result()
4015 if ((bi_ie_offset + bi_ie_length) > bi_length) { in dhd_process_full_gscan_result()
H A Dwl_cfgp2p.c2304 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length) in wl_cfgp2p_retreive_p2p_dev_addr() argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfgscan.c386 u32 bi_length; in wl_escan_handler() local
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()
450 WL_ERR(("Invalid bss_info length %d: ignoring\n", bi_length)); in wl_escan_handler()
465 p2p_dev_addr = wl_cfgp2p_retreive_p2p_dev_addr(bi, bi_length); in wl_escan_handler()
524 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_handler()
584 if (dtoh32(bss->length) != bi_length) { in wl_escan_handler()
592 prev_len, bi_length)); in wl_escan_handler()
594 if ((list->buflen - prev_len) + bi_length in wl_escan_handler()
607 memmove((u8 *)bss + bi_length, in wl_escan_handler()
[all …]
H A Dwl_cfgp2p.h385 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length);
H A Ddhd_pno.c3948 u32 bi_length = 0; local
3978 bi_length = dtoh32(bi->length);
3979 if (bi_length != (dtoh32(gscan_result->buflen) -
3981 DHD_ERROR(("Invalid bss_info length %d: ignoring\n", bi_length));
3986 if ((bi_ie_offset + bi_ie_length) > bi_length) {
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfgscan.c381 u32 bi_length; in wl_escan_handler() local
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()
445 WL_ERR(("Invalid bss_info length %d: ignoring\n", bi_length)); in wl_escan_handler()
460 p2p_dev_addr = wl_cfgp2p_retreive_p2p_dev_addr(bi, bi_length); in wl_escan_handler()
519 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_handler()
579 if (dtoh32(bss->length) != bi_length) { in wl_escan_handler()
587 prev_len, bi_length)); in wl_escan_handler()
589 if ((list->buflen - prev_len) + bi_length in wl_escan_handler()
602 memmove((u8 *)bss + bi_length, in wl_escan_handler()
[all …]
H A Dwl_cfgp2p.h385 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length);
H A Ddhd_pno.c3948 u32 bi_length = 0; local
3978 bi_length = dtoh32(bi->length);
3979 if (bi_length != (dtoh32(gscan_result->buflen) -
3981 DHD_ERROR(("Invalid bss_info length %d: ignoring\n", bi_length));
3986 if ((bi_ie_offset + bi_ie_length) > bi_length) {
H A Dwl_cfgp2p.c2276 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfgscan.c386 u32 bi_length; in wl_escan_handler() local
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()
450 WL_ERR(("Invalid bss_info length %d: ignoring\n", bi_length)); in wl_escan_handler()
465 p2p_dev_addr = wl_cfgp2p_retreive_p2p_dev_addr(bi, bi_length); in wl_escan_handler()
524 if (bi_length > ESCAN_BUF_SIZE - list->buflen) in wl_escan_handler()
584 if (dtoh32(bss->length) != bi_length) { in wl_escan_handler()
592 prev_len, bi_length)); in wl_escan_handler()
594 if ((list->buflen - prev_len) + bi_length in wl_escan_handler()
607 memmove((u8 *)bss + bi_length, in wl_escan_handler()
[all …]
H A Dwl_cfgp2p.h385 wl_cfgp2p_retreive_p2p_dev_addr(wl_bss_info_t *bi, u32 bi_length);
H A Ddhd_pno.c3948 u32 bi_length = 0; local
3978 bi_length = dtoh32(bi->length);
3979 if (bi_length != (dtoh32(gscan_result->buflen) -
3981 DHD_ERROR(("Invalid bss_info length %d: ignoring\n", bi_length));
3986 if ((bi_ie_offset + bi_ie_length) > bi_length) {
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c3280 u32 bi_length; in brcmf_cfg80211_escan_handler() local
3330 bi_length = le32_to_cpu(bss_info_le->length); in brcmf_cfg80211_escan_handler()
3331 if (bi_length != escan_buflen - WL_ESCAN_RESULTS_FIXED_SIZE) { in brcmf_cfg80211_escan_handler()
3333 bi_length); in brcmf_cfg80211_escan_handler()
3348 if (bi_length > BRCMF_ESCAN_BUF_SIZE - list->buflen) { in brcmf_cfg80211_escan_handler()
3362 bi_length); in brcmf_cfg80211_escan_handler()
3364 list->buflen += bi_length; in brcmf_cfg80211_escan_handler()

12