Message ID | 0da95992-c93b-479a-93fb-eeca2cefc8c7@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Ping-Ke Shih |
Headers | show |
Series | wifi: rtlwifi: Add new rtl8192du driver | expand |
Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote: > These are needed for the dual MAC version of RTL8192DU. Please explain a little bit how you can share the data between two USB intf, and why you need this. > > Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> > --- > v5: > - Patch is new in v5. > --- > drivers/net/wireless/realtek/rtlwifi/wifi.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.h b/drivers/net/wireless/realtek/rtlwifi/wifi.h > index 442419568734..6a8212fd36af 100644 > --- a/drivers/net/wireless/realtek/rtlwifi/wifi.h > +++ b/drivers/net/wireless/realtek/rtlwifi/wifi.h > @@ -2746,6 +2746,12 @@ struct rtl_priv { > */ > bool use_new_trx_flow; > > + /* For dual MAC RTL8192DU, things shared by the 2 USB interfaces */ > + u32 *curveindex_2g; > + u32 *curveindex_5g; > + struct mutex *mutex_for_power_on_off; /* for power on/off */ > + struct mutex *mutex_for_hw_init; /* for hardware init */ > + > #ifdef CONFIG_PM > struct wiphy_wowlan_support wowlan; > #endif > -- > 2.44.0
diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.h b/drivers/net/wireless/realtek/rtlwifi/wifi.h index 442419568734..6a8212fd36af 100644 --- a/drivers/net/wireless/realtek/rtlwifi/wifi.h +++ b/drivers/net/wireless/realtek/rtlwifi/wifi.h @@ -2746,6 +2746,12 @@ struct rtl_priv { */ bool use_new_trx_flow; + /* For dual MAC RTL8192DU, things shared by the 2 USB interfaces */ + u32 *curveindex_2g; + u32 *curveindex_5g; + struct mutex *mutex_for_power_on_off; /* for power on/off */ + struct mutex *mutex_for_hw_init; /* for hardware init */ + #ifdef CONFIG_PM struct wiphy_wowlan_support wowlan; #endif
These are needed for the dual MAC version of RTL8192DU. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> --- v5: - Patch is new in v5. --- drivers/net/wireless/realtek/rtlwifi/wifi.h | 6 ++++++ 1 file changed, 6 insertions(+)