Skip to contentSkip to conversation

RTL8192CU: about trivial change of removing some 8192c declaration from header file

DISCUSSION Xuebing Wang 1 participant 1 message Sep 26, 2016

lore
Share & tools
lore
#0 lore raw

Hi Larry and Chaoming:

I am trying to do User Mode driver for RTL8192CU (device is Alfa AWUS036NHR which is 802.11 b/g/n), and I am reading RTL8192CU / RTL8192C / RTLWIFI driver source code.

There is a very trivial error that below declarations (in rtl8192cu/hw.h) are already in file drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h
---
int rtl92c_download_fw(struct ieee80211_hw *hw);
void rtl92c_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 mode);
void rtl92c_set_fw_joinbss_report_cmd(struct ieee80211_hw *hw, u8 mstatus);
void rtl92c_fill_h2c_cmd(struct ieee80211_hw *hw,

             u8 element_id, u32 cmd_len, u8 *p_cmdbuffer);

---

Does it make sense for me to submit a trivial patch to remove these declarations from rtl8192cu/hw.h?

Thanks.
xuebing