Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dssv_cfgvendor.c298 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
303 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
304 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
305 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
308 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
314 skb = ssv_cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Drtw_cfgvendor.c381 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
386 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
387 if (malloc_len > NLMSG_DEFAULT_SIZE) in wl_cfgvendor_send_hotlist_event()
388 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
390 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
396 skb = rtw_cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/
H A Drtw_cfgvendor.c392 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
397 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
398 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
399 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
402 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
408 skb = rtw_cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/
H A Drtw_cfgvendor.c382 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
387 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
388 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
389 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
392 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
398 skb = rtw_cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/
H A Drtw_cfgvendor.c385 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
390 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
391 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
392 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
394 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
400 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Drtw_cfgvendor.c408 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
413 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
414 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
415 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
417 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
423 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/
H A Drtw_cfgvendor.c408 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
413 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
414 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
415 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
417 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
423 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/
H A Drtw_cfgvendor.c401 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
406 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
407 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
408 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
410 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
416 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/
H A Drtw_cfgvendor.c419 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
424 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
425 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
426 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
428 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
434 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/
H A Drtw_cfgvendor.c398 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
403 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
404 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
405 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
407 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
413 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/
H A Drtw_cfgvendor.c405 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
410 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
411 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
412 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
414 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
420 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/
H A Drtw_cfgvendor.c401 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
406 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
407 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
408 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
410 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
416 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/
H A Drtw_cfgvendor.c408 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
413 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
414 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
415 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
417 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
423 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Drtw_cfgvendor.c400 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
405 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
406 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
407 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
409 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
415 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Drtw_cfgvendor.c400 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
405 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
406 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
407 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
409 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
415 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/
H A Drtw_cfgvendor.c408 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
413 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
414 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
415 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
417 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
423 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/
H A Drtw_cfgvendor.c408 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
413 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
414 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
415 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
417 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
423 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/
H A Drtw_cfgvendor.c408 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
413 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
414 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
415 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
417 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
423 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/
H A Drtw_cfgvendor.c409 int malloc_len, total, iter_cnt_to_send, cnt; in rtw_cfgvendor_send_hotlist_event() local
414 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in rtw_cfgvendor_send_hotlist_event()
415 if (malloc_len > NLMSG_DEFAULT_SIZE) in rtw_cfgvendor_send_hotlist_event()
416 malloc_len = NLMSG_DEFAULT_SIZE; in rtw_cfgvendor_send_hotlist_event()
418 (malloc_len - VENDOR_DATA_OVERHEAD) / sizeof(wifi_gscan_result_t); in rtw_cfgvendor_send_hotlist_event()
424 skb = rtw_cfg80211_vendor_event_alloc(wiphy, ndev_to_wdev(dev), malloc_len, event, kflags); in rtw_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_cfgvendor.c286 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
291 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
292 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
293 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
296 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
304 skb = cfg80211_vendor_event_alloc(wiphy, NULL, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
306 skb = cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfgvendor.c433 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
438 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
439 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
440 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
443 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
452 malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
454 skb = cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfgvendor.c468 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
473 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
474 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
475 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
478 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
487 malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
489 skb = cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfgvendor.c468 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
473 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
474 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
475 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
478 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
487 malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
489 skb = cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgvendor.c431 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
436 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
437 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
438 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
441 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
450 malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
452 skb = cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfgvendor.c431 int malloc_len, total, iter_cnt_to_send, cnt; in wl_cfgvendor_send_hotlist_event() local
436 malloc_len = (total * sizeof(wifi_gscan_result_t)) + VENDOR_DATA_OVERHEAD; in wl_cfgvendor_send_hotlist_event()
437 if (malloc_len > NLMSG_DEFAULT_SIZE) { in wl_cfgvendor_send_hotlist_event()
438 malloc_len = NLMSG_DEFAULT_SIZE; in wl_cfgvendor_send_hotlist_event()
441 (malloc_len - VENDOR_DATA_OVERHEAD)/sizeof(wifi_gscan_result_t); in wl_cfgvendor_send_hotlist_event()
450 malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()
452 skb = cfg80211_vendor_event_alloc(wiphy, malloc_len, event, kflags); in wl_cfgvendor_send_hotlist_event()