|
|
|
|
@ -1635,8 +1635,8 @@ exit:
|
|
|
|
|
return ret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev
|
|
|
|
|
, u8 key_index
|
|
|
|
|
static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev,
|
|
|
|
|
int link_id, u8 key_index
|
|
|
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE)
|
|
|
|
|
, bool pairwise
|
|
|
|
|
#endif
|
|
|
|
|
@ -1779,8 +1779,8 @@ addkey_end:
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev
|
|
|
|
|
, u8 keyid
|
|
|
|
|
static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev,
|
|
|
|
|
int link_id, u8 keyid
|
|
|
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE)
|
|
|
|
|
, bool pairwise
|
|
|
|
|
#endif
|
|
|
|
|
@ -1944,7 +1944,7 @@ exit:
|
|
|
|
|
return ret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev,
|
|
|
|
|
static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev, int link_id,
|
|
|
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) || defined(COMPAT_KERNEL_RELEASE)
|
|
|
|
|
u8 key_index, bool pairwise, const u8 *mac_addr)
|
|
|
|
|
#else /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) */
|
|
|
|
|
@ -1965,7 +1965,7 @@ static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static int cfg80211_rtw_set_default_key(struct wiphy *wiphy,
|
|
|
|
|
struct net_device *ndev, u8 key_index
|
|
|
|
|
struct net_device *ndev, int link_id, u8 key_index
|
|
|
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)) || defined(COMPAT_KERNEL_RELEASE)
|
|
|
|
|
, bool unicast, bool multicast
|
|
|
|
|
#endif
|
|
|
|
|
@ -2013,7 +2013,7 @@ static int cfg80211_rtw_set_default_key(struct wiphy *wiphy,
|
|
|
|
|
|
|
|
|
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30))
|
|
|
|
|
int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy,
|
|
|
|
|
struct net_device *ndev, u8 key_index)
|
|
|
|
|
struct net_device *ndev, int link_id, u8 key_index)
|
|
|
|
|
{
|
|
|
|
|
#define SET_DEF_KEY_PARAM_FMT " key_index=%d"
|
|
|
|
|
#define SET_DEF_KEY_PARAM_ARG , key_index
|
|
|
|
|
|