Lines Matching refs:ar9170
198 struct ar9170;
201 struct ar9170 *ar;
236 struct ar9170 { struct
497 struct ar9170 *ar;
501 #define CHK_DEV_STATE(a, s) (((struct ar9170 *)a)->state >= (s))
506 static inline void __carl9170_set_state(struct ar9170 *ar, in __carl9170_set_state()
512 static inline void carl9170_set_state(struct ar9170 *ar, in carl9170_set_state()
522 static inline void carl9170_set_state_when(struct ar9170 *ar, in carl9170_set_state_when()
535 int carl9170_register(struct ar9170 *ar);
536 void carl9170_unregister(struct ar9170 *ar);
537 void carl9170_free(struct ar9170 *ar);
538 void carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r);
539 void carl9170_ps_check(struct ar9170 *ar);
542 int carl9170_usb_open(struct ar9170 *ar);
543 void carl9170_usb_stop(struct ar9170 *ar);
544 void carl9170_usb_tx(struct ar9170 *ar, struct sk_buff *skb);
545 void carl9170_usb_handle_tx_err(struct ar9170 *ar);
546 int carl9170_exec_cmd(struct ar9170 *ar, const enum carl9170_cmd_oids,
548 int __carl9170_exec_cmd(struct ar9170 *ar, struct carl9170_cmd *cmd,
550 int carl9170_usb_restart(struct ar9170 *ar);
551 void carl9170_usb_reset(struct ar9170 *ar);
554 int carl9170_init_mac(struct ar9170 *ar);
555 int carl9170_set_qos(struct ar9170 *ar);
556 int carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hast);
557 int carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id,
559 int carl9170_set_operating_mode(struct ar9170 *ar);
560 int carl9170_set_beacon_timers(struct ar9170 *ar);
561 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar);
562 int carl9170_set_rts_cts_rate(struct ar9170 *ar);
563 int carl9170_set_ampdu_settings(struct ar9170 *ar);
564 int carl9170_set_slot_time(struct ar9170 *ar);
565 int carl9170_set_mac_rates(struct ar9170 *ar);
566 int carl9170_set_hwretry_limit(struct ar9170 *ar, const u32 max_retry);
567 int carl9170_upload_key(struct ar9170 *ar, const u8 id, const u8 *mac,
569 int carl9170_disable_key(struct ar9170 *ar, const u8 id);
570 int carl9170_set_mac_tpc(struct ar9170 *ar, struct ieee80211_channel *channel);
573 void carl9170_rx(struct ar9170 *ar, void *buf, unsigned int len);
574 void carl9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len);
581 void carl9170_tx_process_status(struct ar9170 *ar,
583 void carl9170_tx_status(struct ar9170 *ar, struct sk_buff *skb,
585 void carl9170_tx_callback(struct ar9170 *ar, struct sk_buff *skb);
586 void carl9170_tx_drop(struct ar9170 *ar, struct sk_buff *skb);
587 void carl9170_tx_scheduler(struct ar9170 *ar);
590 int carl9170_update_beacon(struct ar9170 *ar, const bool submit);
594 int carl9170_led_register(struct ar9170 *ar);
595 void carl9170_led_unregister(struct ar9170 *ar);
597 int carl9170_led_init(struct ar9170 *ar);
598 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state);
601 int carl9170_set_channel(struct ar9170 *ar, struct ieee80211_channel *channel,
603 int carl9170_get_noisefloor(struct ar9170 *ar);
606 int carl9170_parse_firmware(struct ar9170 *ar);
611 static inline struct ar9170 *carl9170_get_priv(struct carl9170_vif *carl_vif) in carl9170_get_priv()
613 return container_of(carl_vif, struct ar9170, in carl9170_get_priv()
645 static inline struct ieee80211_vif *carl9170_get_main_vif(struct ar9170 *ar) in carl9170_get_main_vif()
657 static inline bool is_main_vif(struct ar9170 *ar, struct ieee80211_vif *vif) in is_main_vif()