Searched refs:notif_bss_info (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfgscan.c | 317 struct wl_cfg80211_bss_info *notif_bss_info; in wl_inform_single_bss() local 345 notif_bss_info = (struct wl_cfg80211_bss_info *)MALLOCZ(cfg->osh, in wl_inform_single_bss() 346 sizeof(*notif_bss_info) + sizeof(*mgmt) - sizeof(u8) + WL_BSS_INFO_MAX); in wl_inform_single_bss() 347 if (unlikely(!notif_bss_info)) { in wl_inform_single_bss() 358 MFREE(cfg->osh, notif_bss_info, sizeof(*notif_bss_info) in wl_inform_single_bss() 363 mgmt = (struct ieee80211_mgmt *)notif_bss_info->frame_buf; in wl_inform_single_bss() 365 notif_bss_info->channel = wf_chspec_ctlchan(chanspec); in wl_inform_single_bss() 366 notif_bss_info->band = CHSPEC_BAND(bi->chanspec); in wl_inform_single_bss() 367 notif_bss_info->rssi = dtoh16(bi->RSSI); in wl_inform_single_bss() 369 notif_bss_info->rssi = wl_get_avg_rssi(&cfg->g_rssi_cache_ctrl, &bi->BSSID); in wl_inform_single_bss() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfgscan.c | 313 struct wl_cfg80211_bss_info *notif_bss_info; in wl_inform_single_bss() local 341 notif_bss_info = (struct wl_cfg80211_bss_info *)MALLOCZ(cfg->osh, in wl_inform_single_bss() 342 sizeof(*notif_bss_info) + sizeof(*mgmt) - sizeof(u8) + WL_BSS_INFO_MAX); in wl_inform_single_bss() 343 if (unlikely(!notif_bss_info)) { in wl_inform_single_bss() 354 MFREE(cfg->osh, notif_bss_info, sizeof(*notif_bss_info) in wl_inform_single_bss() 359 mgmt = (struct ieee80211_mgmt *)notif_bss_info->frame_buf; in wl_inform_single_bss() 361 notif_bss_info->channel = wf_chspec_ctlchan(chanspec); in wl_inform_single_bss() 362 notif_bss_info->band = CHSPEC_BAND(bi->chanspec); in wl_inform_single_bss() 363 notif_bss_info->rssi = dtoh16(bi->RSSI); in wl_inform_single_bss() 365 notif_bss_info->rssi = wl_get_avg_rssi(&cfg->g_rssi_cache_ctrl, &bi->BSSID); in wl_inform_single_bss() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_cfg80211.c | 11889 struct wl_cfg80211_bss_info *notif_bss_info; in wl_inform_single_bss() local 11910 notif_bss_info = kzalloc(sizeof(*notif_bss_info) + sizeof(*mgmt) in wl_inform_single_bss() 11912 if (unlikely(!notif_bss_info)) { in wl_inform_single_bss() 11916 mgmt = (struct ieee80211_mgmt *)notif_bss_info->frame_buf; in wl_inform_single_bss() 11918 notif_bss_info->channel = wf_chspec_ctlchan(chanspec); in wl_inform_single_bss() 11920 if (notif_bss_info->channel <= CH_MAX_2G_CHANNEL) in wl_inform_single_bss() 11926 kfree(notif_bss_info); in wl_inform_single_bss() 11929 notif_bss_info->rssi = dtoh16(bi->RSSI); in wl_inform_single_bss() 11931 notif_bss_info->rssi = wl_get_avg_rssi(&cfg->g_rssi_cache_ctrl, &bi->BSSID); in wl_inform_single_bss() 11932 if (notif_bss_info->rssi == RSSI_MINVAL) in wl_inform_single_bss() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfg80211.c | 14082 struct wl_cfg80211_bss_info *notif_bss_info; local 14112 notif_bss_info = (struct wl_cfg80211_bss_info *)MALLOCZ(cfg->osh, 14113 sizeof(*notif_bss_info) + sizeof(*mgmt) - sizeof(u8) + WL_BSS_INFO_MAX); 14114 if (unlikely(!notif_bss_info)) { 14118 mgmt = (struct ieee80211_mgmt *)notif_bss_info->frame_buf; 14119 notif_bss_info->channel = 14127 if (notif_bss_info->channel <= CH_MAX_2G_CHANNEL) 14133 MFREE(cfg->osh, notif_bss_info, sizeof(*notif_bss_info) 14137 notif_bss_info->rssi = wl_rssi_offset(dtoh16(bi->RSSI)); 14155 notif_bss_info->frame_len = offsetof(struct ieee80211_mgmt, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfg80211.c | 14080 struct wl_cfg80211_bss_info *notif_bss_info; local 14110 notif_bss_info = (struct wl_cfg80211_bss_info *)MALLOCZ(cfg->osh, 14111 sizeof(*notif_bss_info) + sizeof(*mgmt) - sizeof(u8) + WL_BSS_INFO_MAX); 14112 if (unlikely(!notif_bss_info)) { 14116 mgmt = (struct ieee80211_mgmt *)notif_bss_info->frame_buf; 14117 notif_bss_info->channel = 14125 if (notif_bss_info->channel <= CH_MAX_2G_CHANNEL) 14131 MFREE(cfg->osh, notif_bss_info, sizeof(*notif_bss_info) 14135 notif_bss_info->rssi = wl_rssi_offset(dtoh16(bi->RSSI)); 14153 notif_bss_info->frame_len = offsetof(struct ieee80211_mgmt, [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfg80211.c | 13967 struct wl_cfg80211_bss_info *notif_bss_info; local 13994 notif_bss_info = (struct wl_cfg80211_bss_info *)MALLOCZ(cfg->osh, 13995 sizeof(*notif_bss_info) + sizeof(*mgmt) - sizeof(u8) + WL_BSS_INFO_MAX); 13996 if (unlikely(!notif_bss_info)) { 14000 mgmt = (struct ieee80211_mgmt *)notif_bss_info->frame_buf; 14001 notif_bss_info->channel = 14004 if (notif_bss_info->channel <= CH_MAX_2G_CHANNEL) 14010 MFREE(cfg->osh, notif_bss_info, sizeof(*notif_bss_info) 14014 notif_bss_info->rssi = wl_rssi_offset(dtoh16(bi->RSSI)); 14032 notif_bss_info->frame_len = offsetof(struct ieee80211_mgmt, [all …]
|