iwl_dvm.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. /* Intel 6200/6300 (iwlwifi "6000" family) firmware layer ("dvm"): see
  2. * iwl_dvm.c. Same entry points as iwl_mvm.h; wifi_fw.c picks one of them
  3. * by the probed device family.
  4. *
  5. * One BSS RXON context: the AP station is ID 0 (IWL_AP_ID), the broadcast
  6. * station ID 15 (IWLAGN_BROADCAST_ID); management frames go on the VO
  7. * queue, non-QoS data on BE. */
  8. #ifndef IWL_DVM_H
  9. #define IWL_DVM_H
  10. int iwl_dvm_up(unsigned char mac[6]);
  11. int iwl_dvm_is_up(void);
  12. void iwl_dvm_down(void);
  13. const char *iwl_dvm_state(void);
  14. int iwl_dvm_poll(void);
  15. int iwl_dvm_scan_start(void);
  16. int iwl_dvm_scan_running(void);
  17. int iwl_dvm_prepare_connect(const unsigned char bssid[6], unsigned int chan,
  18. unsigned int beacon_int);
  19. int iwl_dvm_set_assoc(unsigned short aid, unsigned int beacon_int,
  20. unsigned int dtim);
  21. void iwl_dvm_disconnect(void);
  22. int iwl_dvm_tx_mgmt(const unsigned char *frame, unsigned int len);
  23. int iwl_dvm_tx_data(const unsigned char *frame, unsigned int len,
  24. int protect);
  25. int iwl_dvm_set_key(int pairwise, int keyidx, const unsigned char key[16],
  26. const unsigned char rsc[6]);
  27. void iwl_dvm_clear_keys(void);
  28. #endif