Lines Matching refs:rt_wlan_device

365 struct rt_wlan_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);
452 struct rt_wlan_device struct
496 rt_err_t (*wlan_init)(struct rt_wlan_device *wlan);
497 rt_err_t (*wlan_mode)(struct rt_wlan_device *wlan, rt_wlan_mode_t mode);
498 rt_err_t (*wlan_scan)(struct rt_wlan_device *wlan, struct rt_scan_info *scan_info);
499 rt_err_t (*wlan_join)(struct rt_wlan_device *wlan, struct rt_sta_info *sta_info);
500 rt_err_t (*wlan_softap)(struct rt_wlan_device *wlan, struct rt_ap_info *ap_info);
501 rt_err_t (*wlan_disconnect)(struct rt_wlan_device *wlan);
502 rt_err_t (*wlan_ap_stop)(struct rt_wlan_device *wlan);
503 rt_err_t (*wlan_ap_deauth)(struct rt_wlan_device *wlan, rt_uint8_t mac[]);
504 rt_err_t (*wlan_scan_stop)(struct rt_wlan_device *wlan);
505 int (*wlan_get_rssi)(struct rt_wlan_device *wlan);
506 int (*wlan_get_info)(struct rt_wlan_device *wlan, struct rt_wlan_info *info);
507 int (*wlan_ap_get_info)(struct rt_wlan_device *wlan, struct rt_wlan_info *info);
508 rt_err_t (*wlan_set_powersave)(struct rt_wlan_device *wlan, int level);
509 int (*wlan_get_powersave)(struct rt_wlan_device *wlan);
510 rt_err_t (*wlan_cfg_promisc)(struct rt_wlan_device *wlan, rt_bool_t start);
511 rt_err_t (*wlan_cfg_filter)(struct rt_wlan_device *wlan, struct rt_wlan_filter *filter);
512 rt_err_t (*wlan_cfg_mgnt_filter)(struct rt_wlan_device *wlan, rt_bool_t start);
513 rt_err_t (*wlan_set_channel)(struct rt_wlan_device *wlan, int channel);
514 int (*wlan_get_channel)(struct rt_wlan_device *wlan);
515 rt_err_t (*wlan_set_country)(struct rt_wlan_device *wlan, rt_country_code_t country_code);
516 rt_country_code_t (*wlan_get_country)(struct rt_wlan_device *wlan);
517 rt_err_t (*wlan_set_mac)(struct rt_wlan_device *wlan, rt_uint8_t mac[]);
518 rt_err_t (*wlan_get_mac)(struct rt_wlan_device *wlan, rt_uint8_t mac[]);
519 int (*wlan_recv)(struct rt_wlan_device *wlan, void *buff, int len);
520 int (*wlan_send)(struct rt_wlan_device *wlan, void *buff, int len);
521 int (*wlan_send_raw_frame)(struct rt_wlan_device *wlan, void *buff, int len);
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);
607 rt_err_t rt_wlan_dev_register(struct rt_wlan_device *wlan, const char *name,