Lines Matching refs:device
368 typedef void (*rt_wlan_dev_event_handler)(struct rt_wlan_device *device, rt_wlan_dev_event_t event,…
370 typedef void (*rt_wlan_pormisc_callback_t)(struct rt_wlan_device *device, void *data, int len);
372 typedef void (*rt_wlan_mgnt_filter_callback_t)(struct rt_wlan_device *device, void *data, int len);
454 struct rt_device device; member
529 rt_err_t rt_wlan_dev_init(struct rt_wlan_device *device, rt_wlan_mode_t mode);
534 rt_err_t rt_wlan_dev_connect(struct rt_wlan_device *device, struct rt_wlan_info *info, const char *…
535 rt_err_t rt_wlan_dev_fast_connect(struct rt_wlan_device *device, struct rt_wlan_info *info, const c…
536 rt_err_t rt_wlan_dev_disconnect(struct rt_wlan_device *device);
537 int rt_wlan_dev_get_rssi(struct rt_wlan_device *device);
538 rt_err_t rt_wlan_dev_get_info(struct rt_wlan_device *device, struct rt_wlan_info *info);
543 rt_err_t rt_wlan_dev_ap_start(struct rt_wlan_device *device, struct rt_wlan_info *info, const char …
544 rt_err_t rt_wlan_dev_ap_stop(struct rt_wlan_device *device);
545 rt_err_t rt_wlan_dev_ap_deauth(struct rt_wlan_device *device, rt_uint8_t mac[6]);
546 rt_err_t rt_wlan_dev_ap_get_info(struct rt_wlan_device *device, struct rt_wlan_info *info);
551 rt_err_t rt_wlan_dev_scan(struct rt_wlan_device *device, struct rt_wlan_info *info);
552 rt_err_t rt_wlan_dev_scan_stop(struct rt_wlan_device *device);
557 rt_err_t rt_wlan_dev_get_mac(struct rt_wlan_device *device, rt_uint8_t mac[6]);
558 rt_err_t rt_wlan_dev_set_mac(struct rt_wlan_device *device, rt_uint8_t mac[6]);
563 rt_err_t rt_wlan_dev_set_powersave(struct rt_wlan_device *device, int level);
564 int rt_wlan_dev_get_powersave(struct rt_wlan_device *device);
569 rt_err_t rt_wlan_dev_register_event_handler(struct rt_wlan_device *device, rt_wlan_dev_event_t even…
570 rt_err_t rt_wlan_dev_unregister_event_handler(struct rt_wlan_device *device, rt_wlan_dev_event_t ev…
571 void rt_wlan_dev_indicate_event_handle(struct rt_wlan_device *device, rt_wlan_dev_event_t event, st…
576 rt_err_t rt_wlan_dev_enter_promisc(struct rt_wlan_device *device);
577 rt_err_t rt_wlan_dev_exit_promisc(struct rt_wlan_device *device);
578 rt_err_t rt_wlan_dev_set_promisc_callback(struct rt_wlan_device *device, rt_wlan_pormisc_callback_t…
579 void rt_wlan_dev_promisc_handler(struct rt_wlan_device *device, void *data, int len);
584 rt_err_t rt_wlan_dev_cfg_filter(struct rt_wlan_device *device, struct rt_wlan_filter *filter);
589 rt_err_t rt_wlan_dev_set_channel(struct rt_wlan_device *device, int channel);
590 int rt_wlan_dev_get_channel(struct rt_wlan_device *device);
595 rt_err_t rt_wlan_dev_set_country(struct rt_wlan_device *device, rt_country_code_t country_code);
596 rt_country_code_t rt_wlan_dev_get_country(struct rt_wlan_device *device);
601 rt_err_t rt_wlan_dev_report_data(struct rt_wlan_device *device, void *buff, int len);