| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/ |
| H A D | ssv_pm.c | 30 struct ssv_softc *ssv_notify_sc = NULL; 40 struct ssv_softc *sc = container_of(h, struct ssv_softc, early_suspend); in ssv6xxx_early_suspend() 42 struct ssv_softc *sc = ssv_notify_sc; in ssv6xxx_early_suspend() 54 void ssv6xxx_send_deauth_toself(struct ssv_softc *sc,const u8 *bssid,const u8 *self_addr) in ssv6xxx_send_deauth_toself() 89 struct ssv_softc *sc = container_of(h, struct ssv_softc, early_suspend); in ssv6xxx_late_resume() 91 struct ssv_softc *sc = ssv_notify_sc; in ssv6xxx_late_resume() 164 void ssv_wakelock_init(struct ssv_softc *sc) in ssv_wakelock_init() 175 void ssv_wakelock_destroy(struct ssv_softc *sc) in ssv_wakelock_destroy() 186 void ssv_wake_lock(struct ssv_softc *sc) in ssv_wake_lock() 192 void ssv_wake_timeout(struct ssv_softc *sc, int secs) in ssv_wake_timeout() [all …]
|
| H A D | dev.h | 159 struct ssv_softc; 181 struct ssv_softc *sc; 329 struct ssv_softc { struct 481 int ssv6xxx_set_channel(struct ssv_softc *sc, int ch); 483 int ssv6xxx_get_channel(struct ssv_softc *sc, int *pch); 484 int ssv6xxx_set_promisc(struct ssv_softc *sc, int accept); 485 int ssv6xxx_get_promisc(struct ssv_softc *sc, int *paccept); 489 u32 ssv6xxx_pbuf_alloc(struct ssv_softc *sc, int size, int type); 490 bool ssv6xxx_pbuf_free(struct ssv_softc *sc, u32 pbuf_addr); 491 void ssv6xxx_add_txinfo(struct ssv_softc *sc, struct sk_buff *skb); [all …]
|
| H A D | ap.h | 21 void ssv6xxx_beacon_change(struct ssv_softc *sc, struct ieee80211_hw *hw, struct ieee80211_vif *vif… 22 void ssv6xxx_beacon_set_info(struct ssv_softc *sc, u8 beacon_interval, u8 dtim_cnt); 23 bool ssv6xxx_beacon_enable(struct ssv_softc *sc, bool bEnable); 24 void ssv6xxx_beacon_release(struct ssv_softc *sc); 31 int ssv6200_bcast_enqueue(struct ssv_softc *sc, struct ssv6xxx_bcast_txq *bcast_txq, struct sk_buff… 32 void ssv6200_bcast_start(struct ssv_softc *sc); 33 void ssv6200_bcast_stop(struct ssv_softc *sc); 34 void ssv6200_release_bcast_frame_res(struct ssv_softc *sc, struct ieee80211_vif *vif);
|
| H A D | ssv6xxx_debugfs.h | 19 int ssv6xxx_init_debugfs (struct ssv_softc *sc, const char *name); 20 void ssv6xxx_deinit_debugfs (struct ssv_softc *sc); 21 int ssv6xxx_debugfs_remove_interface(struct ssv_softc *sc, struct ieee80211_vif *vif); 22 int ssv6xxx_debugfs_add_interface(struct ssv_softc *sc, struct ieee80211_vif *vif); 23 int ssv6xxx_debugfs_remove_sta(struct ssv_softc *sc, struct ssv_sta_info *sta); 24 int ssv6xxx_debugfs_add_sta(struct ssv_softc *sc, struct ssv_sta_info *sta);
|
| H A D | ap.c | 62 void ssv6xxx_beacon_reg_lock(struct ssv_softc *sc, bool block) in ssv6xxx_beacon_reg_lock() 71 void ssv6xxx_beacon_set_info(struct ssv_softc *sc, u8 beacon_interval, u8 dtim_cnt) in ssv6xxx_beacon_set_info() 82 bool ssv6xxx_beacon_enable(struct ssv_softc *sc, bool bEnable) in ssv6xxx_beacon_enable() 117 int ssv6xxx_beacon_fill_content(struct ssv_softc *sc, u32 regaddr, u8 *beacon, int size) in ssv6xxx_beacon_fill_content() 135 void ssv6xxx_beacon_fill_tx_desc(struct ssv_softc *sc, struct sk_buff* beacon_skb) in ssv6xxx_beacon_fill_tx_desc() 156 inline enum ssv6xxx_beacon_type ssv6xxx_beacon_get_valid_reg(struct ssv_softc *sc) in ssv6xxx_beacon_get_valid_reg() 170 bool ssv6xxx_beacon_set(struct ssv_softc *sc, struct sk_buff *beacon_skb, int dtim_offset) in ssv6xxx_beacon_set() 232 inline bool ssv6xxx_auto_bcn_ongoing(struct ssv_softc *sc) in ssv6xxx_auto_bcn_ongoing() 238 void ssv6xxx_beacon_release(struct ssv_softc *sc) in ssv6xxx_beacon_release() 271 void ssv6xxx_beacon_change(struct ssv_softc *sc, struct ieee80211_hw *hw, struct ieee80211_vif *vif… in ssv6xxx_beacon_change() [all …]
|
| H A D | p2p.h | 49 struct ssv_softc; 50 void ssv6xxx_process_noa_event(struct ssv_softc *sc, struct sk_buff *skb); 51 void ssv6xxx_noa_hdl_bss_change(struct ssv_softc *sc, enum ssv6xxx_noa_conf conf, u8 vif_idx); 52 void ssv6xxx_process_noa_event(struct ssv_softc *sc, struct sk_buff *skb); 53 void ssv6xxx_noa_detect(struct ssv_softc *sc, struct ieee80211_hdr * hdr, u32 len); 54 void ssv6xxx_noa_reset(struct ssv_softc *sc);
|
| H A D | ssv_rc.h | 33 struct ssv_softc; 35 void ssv6xxx_rc_hw_rate_idx(struct ssv_softc *sc, 38 u8 ssv6xxx_rc_hw_rate_update_check(struct sk_buff *skb, struct ssv_softc *sc, u32 do_rts_cts); 40 void ssv6xxx_rc_mac8011_rate_idx(struct ssv_softc *sc, int hw_rate_idx, 42 void ssv6xxx_rc_hw_reset(struct ssv_softc *sc, int rc_idx, int hwidx); 43 void ssv6xxx_rc_update_basic_rate(struct ssv_softc *sc, u32 basic_rates);
|
| H A D | ssv_pm.h | 29 void ssv_wakelock_init(struct ssv_softc *sc); 30 void ssv_wakelock_destroy(struct ssv_softc *sc); 31 void ssv_wake_lock(struct ssv_softc *sc); 32 void ssv_wake_timeout(struct ssv_softc *sc, int secs); 33 void ssv_wake_unlock(struct ssv_softc *sc);
|
| H A D | ssv6xxx_debugfs.c | 32 struct ssv_softc *sc = (struct ssv_softc *)file->private_data; in queue_status_read() 54 int ssv6xxx_init_debugfs (struct ssv_softc *sc, const char *name) in ssv6xxx_init_debugfs() 73 void ssv6xxx_deinit_debugfs (struct ssv_softc *sc) in ssv6xxx_deinit_debugfs() 83 int ssv6xxx_debugfs_add_interface(struct ssv_softc *sc, struct ieee80211_vif *vif) in ssv6xxx_debugfs_add_interface() 105 int ssv6xxx_debugfs_remove_interface(struct ssv_softc *sc, struct ieee80211_vif *vif) in ssv6xxx_debugfs_remove_interface() 117 int ssv6xxx_debugfs_remove_sta(struct ssv_softc *sc, struct ssv_sta_info *sta) in ssv6xxx_debugfs_remove_sta() 129 int ssv6xxx_debugfs_add_sta(struct ssv_softc *sc, struct ssv_sta_info *sta) in ssv6xxx_debugfs_add_sta()
|
| H A D | dev.c | 84 static void _process_rx_q (struct ssv_softc *sc, struct sk_buff_head *rx_q, spinlock_t *rx_q_lock); 85 static u32 _process_tx_done (struct ssv_softc *sc); 87 static u32 _remove_sta_skb_from_q (struct ssv_softc *sc, struct sk_buff_head *q, 131 struct ssv_softc *sc = (struct ssv_softc *)args; in ssv6xxx_txbuf_free_skb() 146 inline bool ssv6xxx_mcu_input_full(struct ssv_softc *sc) in ssv6xxx_mcu_input_full() 152 u32 ssv6xxx_pbuf_alloc(struct ssv_softc *sc, int size, int type) in ssv6xxx_pbuf_alloc() 187 bool ssv6xxx_pbuf_free(struct ssv_softc *sc, u32 pbuf_addr) in ssv6xxx_pbuf_free() 228 int ssv6xxx_set_channel(struct ssv_softc *sc, int ch) in ssv6xxx_set_channel() 365 int ssv6xxx_set_channel(struct ssv_softc *sc, int ch) in ssv6xxx_set_channel() 522 int ssv6xxx_get_channel(struct ssv_softc *sc, int *pch) in ssv6xxx_get_channel() [all …]
|
| H A D | p2p.c | 40 void ssv6xxx_send_noa_cmd(struct ssv_softc *sc, struct ssv6xxx_p2p_noa_param *p2p_noa_param); 140 void ssv6xxx_process_noa_event(struct ssv_softc *sc, struct sk_buff *skb) in ssv6xxx_process_noa_event() 160 void ssv6xxx_noa_reset(struct ssv_softc *sc){ in ssv6xxx_noa_reset() 169 void ssv6xxx_noa_host_stop_noa(struct ssv_softc *sc, u8 vif_id){ in ssv6xxx_noa_host_stop_noa() 181 void ssv6xxx_noa_detect(struct ssv_softc *sc, struct ieee80211_hdr * hdr, u32 len){ in ssv6xxx_noa_detect() 219 void ssv6xxx_noa_hdl_bss_change(struct ssv_softc *sc, enum ssv6xxx_noa_conf conf, u8 vif_idx){ in ssv6xxx_noa_hdl_bss_change() 245 void ssv6xxx_send_noa_cmd(struct ssv_softc *sc, struct ssv6xxx_p2p_noa_param *p2p_noa_param) in ssv6xxx_send_noa_cmd() 280 struct ssv_softc *sc = 281 container_of(work, struct ssv_softc, cmd_work);
|
| H A D | ampdu.c | 73 static struct sk_buff* _aggr_retry_mpdu (struct ssv_softc *sc, 79 static struct sk_buff *_alloc_ampdu_skb (struct ssv_softc *sc, 86 static void _add_ampdu_txinfo (struct ssv_softc *sc, struct sk_buff *ampdu_skb); 87 static u32 _flush_early_ampdu_q (struct ssv_softc *sc, 89 static bool _is_skb_q_empty (struct ssv_softc *sc, struct sk_buff *skb); 92 static void _queue_early_ampdu (struct ssv_softc *sc, 167 struct ssv_softc *sc = hw->priv; in ssv6200_ampdu_hw_init() 262 struct sk_buff* _aggr_retry_mpdu (struct ssv_softc *sc, in _aggr_retry_mpdu() 349 static void _add_ampdu_txinfo (struct ssv_softc *sc, struct sk_buff *ampdu_skb) in _add_ampdu_txinfo() 426 void _send_hci_skb (struct ssv_softc *sc, struct sk_buff *skb, u32 tx_flag) in _send_hci_skb() [all …]
|
| H A D | init.c | 135 extern struct ssv_softc * ssv_notify_sc; 221 static void ssv6xxx_set_80211_hw_capab(struct ssv_softc *sc) in ssv6xxx_set_80211_hw_capab() 352 struct ssv_softc *softc = (struct ssv_softc *)hw->priv; in ssv6xxx_set_80211_hw_capab() 356 *((struct ssv_softc **)wiphy_priv(hw->wiphy)) = softc; in ssv6xxx_set_80211_hw_capab() 372 struct ssv_softc *sc = container_of(nfb, struct ssv_softc, cpu_nfb); in ssv6xxx_cpu_callback() 440 void ssv6xxx_watchdog_restart_hw(struct ssv_softc *sc) in ssv6xxx_watchdog_restart_hw() 458 struct ssv_softc *sc = (struct ssv_softc *)arg; in ssv6200_watchdog_timeout() 523 static int ssv6xxx_init_softc(struct ssv_softc *sc) in ssv6xxx_init_softc() 684 static int ssv6xxx_deinit_softc(struct ssv_softc *sc) in ssv6xxx_deinit_softc() 785 struct ssv_softc *sc=sh->sc; in ssv6xxx_init_mac() [all …]
|
| H A D | smartlink.c | 33 struct ssv_softc *ssv_smartlink_sc = NULL; 63 struct ssv_softc *sc=ssv_smartlink_sc; in _ksmartlink_set_channel() 82 struct ssv_softc *sc=ssv_smartlink_sc; in _ksmartlink_get_channel() 105 struct ssv_softc *sc=ssv_smartlink_sc; in _ksmartlink_set_promisc() 124 struct ssv_softc *sc=ssv_smartlink_sc; in _ksmartlink_get_promisc()
|
| H A D | init.h | 21 void ssv6xxx_deinit_mac(struct ssv_softc *sc); 22 void ssv6xxx_restart_hw(struct ssv_softc *sc);
|
| H A D | ssv_ht_rc.h | 25 s32 ssv62xx_ht_rate_update(struct sk_buff *skb, struct ssv_softc *sc, struct fw_rc_retry_params *ar… 27 void ssv6xxx_ht_report_handler(struct ssv_softc *sc,struct sk_buff *skb,struct ssv_sta_rc_info *rc_…
|
| H A D | sar.c | 118 void sar_monitor(u32 curr_sar, struct ssv_softc *sc) in sar_monitor() 144 struct ssv_softc *sc = container_of(work, struct ssv_softc, thermal_monitor_work.work); in thermal_monitor() 189 int get_flash_info(struct ssv_softc *sc) in get_flash_info()
|
| H A D | ssv_rc.c | 695 void ssv6xxx_legacy_report_handler(struct ssv_softc *sc,struct sk_buff *skb,struct ssv_sta_rc_info … in ssv6xxx_legacy_report_handler() 836 struct ssv_softc *sc = container_of(work, struct ssv_softc, rc_sample_work); in ssv6xxx_sample_work() 941 struct ssv_softc *sc; in ssv6xxx_tx_status() 948 sc = (struct ssv_softc *)priv; in ssv6xxx_tx_status() 1066 struct ssv_softc *sc=priv; in ssv6xxx_get_rate() 1299 struct ssv_softc *sc=priv; in ssv6xxx_rate_update_rc_type() 1432 struct ssv_softc *sc = priv; in ssv6xxx_rate_alloc_sta() 1460 struct ssv_softc *sc=hw->priv; in ssv6xxx_rate_alloc() 1479 struct ssv_softc *sc=priv; in ssv6xxx_rate_free() 1504 void ssv6xxx_rc_mac8011_rate_idx(struct ssv_softc *sc, in ssv6xxx_rc_mac8011_rate_idx() [all …]
|
| H A D | sar.h | 76 int get_flash_info(struct ssv_softc *sc);
|
| H A D | ssv_ht_rc.c | 346 s32 ssv62xx_ht_rate_update(struct sk_buff *skb, struct ssv_softc *sc, struct fw_rc_retry_params *ar) in ssv62xx_ht_rate_update() 527 void ssv6xxx_ht_report_handler(struct ssv_softc *sc,struct sk_buff *skb,struct ssv_sta_rc_info *rc_… in ssv6xxx_ht_report_handler()
|
| H A D | ssv_cfgvendor.c | 46 #define wiphy_to_softc(x) (*((struct ssv_softc**)wiphy_priv(x)))
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ |
| H A D | ssv_cmd.c | 290 struct ssv_softc *ssv_dbg_sc = NULL; 298 static void _dump_sta_info (struct ssv_softc *sc, in _dump_sta_info() 324 void ssv6xxx_dump_sta_info (struct ssv_softc *sc, char *target_buf) in ssv6xxx_dump_sta_info() 914 void ssv6xxx_send_noa_cmd(struct ssv_softc *sc, struct ssv6xxx_p2p_noa_param *p2p_noa_param) in ssv6xxx_send_noa_cmd() 1550 watchdog_controller(((struct ssv_softc *)ssv_dbg_sc)->sh ,(u8)SSV6XXX_HOST_CMD_WATCHDOG_STOP); in ssv_cmd_txtput() 1551 ((struct ssv_softc *)ssv_dbg_sc)->watchdog_flag = WD_SLEEP; in ssv_cmd_txtput() 1574 watchdog_controller(((struct ssv_softc *)ssv_dbg_sc)->sh ,(u8)SSV6XXX_HOST_CMD_WATCHDOG_STOP); in ssv_cmd_rxtput() 1575 ((struct ssv_softc *)ssv_dbg_sc)->watchdog_flag = WD_SLEEP; in ssv_cmd_rxtput()
|