Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | rtl92c_firmware_header |
Enumerations | |
enum | rtl8192c_h2c_cmd { H2C_AP_OFFLOAD = 0, H2C_SETPWRMODE = 1, H2C_JOINBSSRPT = 2, H2C_RSVDPAGE = 3, H2C_RSSI_REPORT = 5, H2C_RA_MASK = 6, MAX_H2CCMD } |
Functions | |
int | rtl92c_download_fw (struct ieee80211_hw *hw) |
void | rtl92c_fill_h2c_cmd (struct ieee80211_hw *hw, u8 element_id, u32 cmd_len, u8 *p_cmdbuffer) |
void | rtl92c_firmware_selfreset (struct ieee80211_hw *hw) |
void | rtl92c_set_fw_pwrmode_cmd (struct ieee80211_hw *hw, u8 mode) |
void | rtl92c_set_fw_rsvdpagepkt (struct ieee80211_hw *hw, bool b_dl_finished) |
void | rtl92c_set_fw_joinbss_report_cmd (struct ieee80211_hw *hw, u8 mstatus) |
void | usb_writeN_async (struct rtl_priv *rtlpriv, u32 addr, void *data, u16 len) |
#define FW_8192C_END_ADDRESS 0x1FFF |
Definition at line 35 of file fw_common.h.
#define FW_8192C_PAGE_SIZE 4096 |
Definition at line 36 of file fw_common.h.
#define FW_8192C_POLLING_DELAY 5 |
Definition at line 37 of file fw_common.h.
#define FW_8192C_POLLING_TIMEOUT_COUNT 100 |
Definition at line 38 of file fw_common.h.
#define FW_8192C_SIZE 0x3000 |
Definition at line 33 of file fw_common.h.
#define FW_8192C_START_ADDRESS 0x1000 |
Definition at line 34 of file fw_common.h.
#define IS_FW_HEADER_EXIST | ( | _pfwhdr | ) |
Definition at line 40 of file fw_common.h.
#define pagenum_128 | ( | _len | ) | (u32)(((_len)>>7) + ((_len)&0x7F ? 1 : 0)) |
Definition at line 73 of file fw_common.h.
#define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE | ( | __ph2ccmd, | |
__val | |||
) | SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) |
Definition at line 81 of file fw_common.h.
#define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME | ( | __ph2ccmd, | |
__val | |||
) | SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) |
Definition at line 79 of file fw_common.h.
#define SET_H2CCMD_PWRMODE_PARM_MODE | ( | __ph2ccmd, | |
__val | |||
) | SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) |
Definition at line 75 of file fw_common.h.
#define SET_H2CCMD_PWRMODE_PARM_SMART_PS | ( | __ph2ccmd, | |
__val | |||
) | SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) |
Definition at line 77 of file fw_common.h.
#define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA | ( | __ph2ccmd, | |
__val | |||
) | SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) |
Definition at line 87 of file fw_common.h.
#define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP | ( | __ph2ccmd, | |
__val | |||
) | SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) |
Definition at line 83 of file fw_common.h.
#define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL | ( | __ph2ccmd, | |
__val | |||
) | SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) |
Definition at line 85 of file fw_common.h.
enum rtl8192c_h2c_cmd |
H2C_AP_OFFLOAD | |
H2C_SETPWRMODE | |
H2C_JOINBSSRPT | |
H2C_RSVDPAGE | |
H2C_RSSI_REPORT | |
H2C_RA_MASK | |
MAX_H2CCMD |
Definition at line 63 of file fw_common.h.
int rtl92c_download_fw | ( | struct ieee80211_hw * | hw | ) |
Definition at line 252 of file fw_common.c.
Definition at line 512 of file fw_common.c.
void rtl92c_firmware_selfreset | ( | struct ieee80211_hw * | hw | ) |
Definition at line 525 of file fw_common.c.
void rtl92c_set_fw_joinbss_report_cmd | ( | struct ieee80211_hw * | hw, |
u8 | mstatus | ||
) |
Definition at line 802 of file fw_common.c.
void rtl92c_set_fw_pwrmode_cmd | ( | struct ieee80211_hw * | hw, |
u8 | mode | ||
) |
Definition at line 546 of file fw_common.c.
void rtl92c_set_fw_rsvdpagepkt | ( | struct ieee80211_hw * | hw, |
bool | b_dl_finished | ||
) |
Definition at line 714 of file fw_common.c.