Skip to content

Commit

Permalink
MOD : Update to the @RinCat's driver current repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
mirobiala authored Dec 15, 2023
1 parent 9c8e1f8 commit edc9957
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions patches/0001-fix-OpenWrt-build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ index f7b59a8..ac1e0b2 100644
int link_id,
#endif
u8 key_index)
@@ -5404,7 +5404,7 @@ static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *nd
@@ -5413,7 +5413,7 @@ static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *nd
return ret;
}

Expand All @@ -164,7 +164,7 @@ index f7b59a8..ac1e0b2 100644
static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev, unsigned int link_id)
#else
static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev)
@@ -6785,7 +6785,7 @@ exit:
@@ -6794,7 +6794,7 @@ exit:
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
static int cfg80211_rtw_get_channel(struct wiphy *wiphy,
struct wireless_dev *wdev,
Expand All @@ -173,7 +173,7 @@ index f7b59a8..ac1e0b2 100644
unsigned int link_id,
#endif
struct cfg80211_chan_def *chandef)
@@ -10726,7 +10726,7 @@ void rtw_wdev_unregister(struct wireless_dev *wdev)
@@ -10735,7 +10735,7 @@ void rtw_wdev_unregister(struct wireless_dev *wdev)
rtw_cfg80211_indicate_scan_done(adapter, _TRUE);

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)) || defined(COMPAT_KERNEL_RELEASE)
Expand Down
10 changes: 5 additions & 5 deletions patches/0003-custom-configuration.patch
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ index f7b59a8..3f9474b 100644
sinfo->filled |= STATION_INFO_RX_PACKETS;
sinfo->rx_packets = sta_rx_data_pkts(psta);
sinfo->filled |= STATION_INFO_TX_PACKETS;
@@ -6043,18 +6111,7 @@ static int cfg80211_rtw_dump_station(struct wiphy *wiphy, struct net_device *nde
@@ -6052,18 +6120,7 @@ static int cfg80211_rtw_dump_station(struct wiphy *wiphy, struct net_device *nde
#endif

sinfo->filled = 0;
Expand All @@ -198,7 +198,7 @@ index f7b59a8..3f9474b 100644

exit:
return ret;
@@ -6759,7 +6816,7 @@ static int cfg80211_rtw_del_virtual_intf(struct wiphy *wiphy,
@@ -6768,7 +6825,7 @@ static int cfg80211_rtw_del_virtual_intf(struct wiphy *wiphy,
RTW_INFO(FUNC_NDEV_FMT" remove monitor ndev\n", FUNC_NDEV_ARG(ndev));
} else {
RTW_INFO(FUNC_NDEV_FMT" unregister ndev\n", FUNC_NDEV_ARG(ndev));
Expand All @@ -207,7 +207,7 @@ index f7b59a8..3f9474b 100644
}
} else
#if defined(CONFIG_P2P) && defined(RTW_DEDICATED_P2P_DEVICE)
@@ -9964,6 +10021,9 @@ struct ieee80211_iface_limit rtw_limits[] = {
@@ -9973,6 +10030,9 @@ struct ieee80211_iface_limit rtw_limits[] = {
{
.max = rtw_min(CONFIG_IFACE_NUMBER, CONFIG_LIMITED_AP_NUM),
.types = BIT(NL80211_IFTYPE_AP)
Expand All @@ -217,7 +217,7 @@ index f7b59a8..3f9474b 100644
#if defined(CONFIG_P2P) && ((LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE))
| BIT(NL80211_IFTYPE_P2P_GO)
#endif
@@ -9975,12 +10035,6 @@ struct ieee80211_iface_limit rtw_limits[] = {
@@ -9984,12 +10044,6 @@ struct ieee80211_iface_limit rtw_limits[] = {
.types = BIT(NL80211_IFTYPE_P2P_DEVICE)
},
#endif
Expand All @@ -230,7 +230,7 @@ index f7b59a8..3f9474b 100644
};

struct ieee80211_iface_combination rtw_combinations[] = {
@@ -10160,6 +10214,16 @@ static int rtw_cfg80211_init_wiphy(_adapter *adapter, struct wiphy *wiphy)
@@ -10169,6 +10223,16 @@ static int rtw_cfg80211_init_wiphy(_adapter *adapter, struct wiphy *wiphy)

#if defined(CONFIG_RTW_80211K) && (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0))
wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_RRM);
Expand Down

0 comments on commit edc9957

Please sign in to comment.