Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The right radio info is then passed as arg to this function and can be accessed without calling get_radio_by_phy_index.

      • wiphy_get_info_handler: Similar change as that of interface_info_handler to pass the right radio_info instance in the This function is passed as callback handler to nl80211_send_and_recv as part of nl80211_init_radio_info. This is called for each radio_info in the g_wifi_hal structure.
        • Pass radio_info as argument to the function nl80211_send_and_recv
        _call where
        • similar change as that of interface_info_handler.
        • In wiphy_get_info_handler
        is passed as callback function pointer
        • , based on the band associated with radio_info process the right band in the nested bands sent with attribute NL80211_ATTR_WIPHY_BANDS. In nl80211, band mapping is defined as per enum nl80211_band.
      • 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: Similar change as that of Interface_info_handler to pass the right radio_info instance in the This function is passed as callback handler to nl80211_send_and_recv _call.

...

      • 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.
    • ap_enable_handler

This callback is invoked as part of enable_ap associated with an interface. Pass interface as arg to nl80211_send_and_recv function instead of g_wifi_hal. Nothing is being done in ap_enable_handler at this time.

    • interface_del_handler

...

      • .

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

...