Searched refs:num_of_mac (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | radio_mode.cpp | 97 int num_of_mac = 0; in handleEvent() local 132 ALOGV("mac_id[%d]: %d ", num_of_mac, mode_info.wlan_mac_id); in handleEvent() 141 ALOGV("mac_band[%d]: %d ", num_of_mac, mode_info.mac_band); in handleEvent() 194 if (!num_of_mac) in handleEvent() 199 realloc(mwifi_iface_mac_info, (num_of_mac + 1) * (sizeof(wifi_mac_info))); in handleEvent() 201 memcpy(&mwifi_iface_mac_info[num_of_mac], &mode_info, sizeof(wifi_mac_info)); in handleEvent() 202 num_of_mac++; in handleEvent() 206 if (mHandler.on_radio_mode_change && num_of_mac) { in handleEvent() 207 (*mHandler.on_radio_mode_change)(mreqId, num_of_mac, mwifi_iface_mac_info); in handleEvent()
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | radio_mode.cpp | 145 int num_of_mac = 0; in handleEvent() local 181 ALOGV("mac_id[%d]: %d ", num_of_mac, mode_info.wlan_mac_id); in handleEvent() 191 ALOGV("mac_band[%d]: %d ", num_of_mac, mode_info.mac_band); in handleEvent() 248 if (!num_of_mac) in handleEvent() 253 realloc(mwifi_iface_mac_info, (num_of_mac + 1) * (sizeof(wifi_mac_info))); in handleEvent() 256 … memcpy(&mwifi_iface_mac_info[num_of_mac], &mode_info, sizeof(wifi_mac_info)); in handleEvent() 257 num_of_mac++; in handleEvent() 262 if (mHandler.on_radio_mode_change && num_of_mac) { in handleEvent() 263 (*mHandler.on_radio_mode_change)(mreqId, num_of_mac, mwifi_iface_mac_info); in handleEvent()
|