iwl_fw.h 954 B

123456789101112131415161718192021222324
  1. /* Firmware-layer dispatch for wifi.c: the 7000 family (7265D/3165) runs
  2. * iwl_mvm.c, the 6000 family (6200/6300) iwl_dvm.c. The family comes from
  3. * the PCI probe (iwl_is_dvm()); every call has the iwl_mvm.h semantics. */
  4. #ifndef IWL_FW_H
  5. #define IWL_FW_H
  6. int iwlfw_up(unsigned char mac[6]);
  7. void iwlfw_down(void);
  8. const char *iwlfw_state(void);
  9. int iwlfw_poll(void);
  10. int iwlfw_scan_start(void);
  11. int iwlfw_scan_running(void);
  12. int iwlfw_prepare_connect(const unsigned char bssid[6], unsigned int chan,
  13. unsigned int beacon_int);
  14. int iwlfw_set_assoc(unsigned short aid, unsigned int beacon_int,
  15. unsigned int dtim);
  16. void iwlfw_disconnect(void);
  17. int iwlfw_tx_mgmt(const unsigned char *frame, unsigned int len);
  18. int iwlfw_tx_data(const unsigned char *frame, unsigned int len, int protect);
  19. int iwlfw_set_key(int pairwise, int keyidx, const unsigned char key[16],
  20. const unsigned char rsc[6]);
  21. void iwlfw_clear_keys(void);
  22. #endif