Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0baa0fd7 authored by Chaoming_Li's avatar Chaoming_Li Committed by John W. Linville
Browse files

rtlwifi: Convert core routines for addition of rtl8192se and rtl8192de



Convert core routines for addition of RTL8192SE and RTL8192DE code.

Additional files are changed to allow compilation.

Signed-off-by: default avatarChaoming_Li <chaoming_li@realsil.com.cn>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 46a6272c
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1182,14 +1182,8 @@ int rtl_send_smps_action(struct ieee80211_hw *hw,
		info->control.rates[0].idx = 0;
		info->control.sta = sta;
		info->band = hw->conf.channel->band;
#if 0
		rtlpriv->intf_ops->adapter_tx(hw, skb, &tcb_desc);
#else
		rtlpriv->intf_ops->adapter_tx(hw, skb);
#endif
	}
	return 1;

err_free:
	return 0;
}
+260 −148

File changed.

Preview size limit exceeded, changes collapsed.

+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
 * Hsinchu 300, Taiwan.
 *
 * Larry Finger <Larry.Finger@lwfinger.net>
 *
 *****************************************************************************/

#ifndef __RTL_CORE_H__
+4 −0
Original line number Diff line number Diff line
@@ -424,6 +424,10 @@ void rtl_swlps_wq_callback(void *data)
{
}

void rtl_swlps_rf_awake(struct ieee80211_hw *hw)
{
}

/*Enter the leisure power save mode.*/
void rtl_lps_enter(struct ieee80211_hw *hw)
{
+1 −1
Original line number Diff line number Diff line
@@ -504,7 +504,7 @@ void rtl92cu_tx_fill_desc(struct ieee80211_hw *hw,
	struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
	struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw));
	bool defaultadapter = true;
	struct ieee80211_sta *sta;
	struct ieee80211_sta *sta = info->control.sta;
	struct rtl_tcb_desc tcb_desc;
	u8 *qc = ieee80211_get_qos_ctl(hdr);
	u8 tid = qc[0] & IEEE80211_QOS_CTL_TID_MASK;
Loading