Lines Matching refs:rt_device_control

80     result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_MODE, (void *)&mode);  in rt_wlan_dev_init()
121 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_JOIN, &sta_info); in rt_wlan_dev_connect()
146 buff.len = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_FAST_CONNECT_INFO, buff.data); in rt_wlan_dev_fast_connect()
153 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_FAST_CONNECT, &buff); in rt_wlan_dev_fast_connect()
167 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_DISCONNECT, RT_NULL); in rt_wlan_dev_disconnect()
203 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SOFTAP, &ap_info); in rt_wlan_dev_ap_start()
216 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_AP_STOP, RT_NULL); in rt_wlan_dev_ap_stop()
229 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_AP_DEAUTH, mac); in rt_wlan_dev_ap_deauth()
244 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_RSSI, &rssi); in rt_wlan_dev_get_rssi()
263 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_INFO, info); in rt_wlan_dev_get_info()
282 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_AP_GET_INFO, info); in rt_wlan_dev_ap_get_info()
301 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_MAC, &mac[0]); in rt_wlan_dev_get_mac()
314 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SET_MAC, &mac[0]); in rt_wlan_dev_set_mac()
327 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SET_POWERSAVE, &level); in rt_wlan_dev_set_powersave()
342 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_POWERSAVE, &level); in rt_wlan_dev_get_powersave()
456 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_CFG_PROMISC, &enable); in rt_wlan_dev_enter_promisc()
470 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_CFG_PROMISC, &enable); in rt_wlan_dev_exit_promisc()
515 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_CFG_FILTER, filter); in rt_wlan_dev_cfg_filter()
532 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SET_CHANNEL, &channel); in rt_wlan_dev_set_channel()
547 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_CHANNEL, &channel); in rt_wlan_dev_get_channel()
566 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SET_COUNTRY, &country_code); in rt_wlan_dev_set_country()
581 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_COUNTRY, &country_code); in rt_wlan_dev_get_country()
624 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SCAN, p_scan_info); in rt_wlan_dev_scan()
637 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SCAN_STOP, RT_NULL); in rt_wlan_dev_scan_stop()
660 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_CFG_MGNT_FILTER, &enable); in rt_wlan_dev_enter_mgnt_filter()
674 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_CFG_MGNT_FILTER, &enable); in rt_wlan_dev_exit_mgnt_filter()