Home
last modified time | relevance | path

Searched refs:country_code (Results 1 – 4 of 4) sorted by relevance

/components/drivers/wlan/
A Ddev_wlan_mgnt.h114 rt_err_t rt_wlan_ap_set_country(rt_country_code_t country_code);
A Ddev_wlan_mgnt.c1514 rt_err_t rt_wlan_ap_set_country(rt_country_code_t country_code) in rt_wlan_ap_set_country() argument
1522 RT_WLAN_LOG_D("%s is run country:%d", __FUNCTION__, country_code); in rt_wlan_ap_set_country()
1524 err = rt_wlan_dev_set_country(AP_DEVICE(), country_code); in rt_wlan_ap_set_country()
1531 rt_country_code_t country_code = RT_COUNTRY_UNKNOWN; in rt_wlan_ap_get_country() local
1535 return country_code; in rt_wlan_ap_get_country()
1538 country_code = rt_wlan_dev_get_country(AP_DEVICE()); in rt_wlan_ap_get_country()
1539 RT_WLAN_LOG_D("%s is run country:%d", __FUNCTION__, country_code); in rt_wlan_ap_get_country()
1541 return country_code; in rt_wlan_ap_get_country()
A Ddev_wlan.c557 rt_err_t rt_wlan_dev_set_country(struct rt_wlan_device *device, rt_country_code_t country_code) in rt_wlan_dev_set_country() argument
566 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SET_COUNTRY, &country_code); in rt_wlan_dev_set_country()
573 rt_country_code_t country_code = RT_COUNTRY_UNKNOWN; in rt_wlan_dev_get_country() local
581 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_COUNTRY, &country_code); in rt_wlan_dev_get_country()
588 return country_code; in rt_wlan_dev_get_country()
A Ddev_wlan.h515 rt_err_t (*wlan_set_country)(struct rt_wlan_device *wlan, rt_country_code_t country_code);
595 rt_err_t rt_wlan_dev_set_country(struct rt_wlan_device *device, rt_country_code_t country_code);

Completed in 12 milliseconds