...
- remove_station_from_other_interfaces: Implement new function get_radio_from_interface_index to get Change interface_info structure to have rdk_index associated with this interface. Obtain the right radio_info instead of structure using the function get_radio_by_phyrdk_index . radio_info stores the various interface and interface_index associated with this radio. Thus we can obtain the right radio parsing this interface listinstead of get_radio_by_phy_index.
- phy_info_handler: This function is passed as callback handler to nl80211_send_and_recv in update_channel_flags which does not use radio_info structure. In the phy_info_handler, based on the band obtained the channel flags has to be updated to the right radio_info structure.
- wifi_hal_purgeScanResult: get_radio_by_phy_index was used to obtain the interface for purging the scan result. Simplify this by using get_interface_by_vap_index and remove the usage of get_radio_by_phy_index.
- platform_get_radio_phytemperature: In broadcom platform.c file, get_radio_by_phy_index is called in this function. Instead of this function, obtain the appropriate radio_info pointer by calling get_radio_by_rdk_index.
...
...
This callback is invoked as part of nl80211_delete_interface. No need to pass g_wifi_hal instead pass interface as arg. Nothing is being done in the interface_del_handler function as of now.
Onewifi
- Needs to check further whether there is any direct usage of phy_index instead of rdk_radio_index. Study in progress.
hostap
- 2.9 patches yet to be checked
- 2.10 patches yet to be checked
- 2.11 patches was checked and there is no direct usage of phy_index which could be impacted by the single phy changesNo changes required in hostap patches.
References
- PoC to create interfaces under single Phy using netlink - https://github.com/cpokuru/NetlinkApis/tree/main
...