Android Wi-Fi 设置country code的调用流程(博通芯片为base)

WifiManager.setCountryCode()
  |
WifiService
  |
WifiServiceImpl.setCountryCode()
  |
WifiStateMachine.setCountryCode()
  |
WifiNative.setCountryCode()
  |
 JNI
  |
HAL(wifi.c).wifi_command()
  |Socket
wpa_supplicant/hostapd:wpa_driver_nl80211_set_country() 
  | 
wpa_driver_nl80211_driver_cmd() 
  |ioctl
WLAN Driver:dhd_ioctl_entry()  
  |
wl_android_priv_cmd()
  | 
wldev_set_country()

你可能感兴趣的:(Android,Wi-Fi)