Level : WORDPRESS BOOK LINKEDIN PATENT Send Mail 동냥하기 hajunho.com

반응형

gelic_wl_set_encodeext

 

static const iw_handler gelic_wl_wext_handler[] =

{

IW_HANDLER(SIOCGIWNAME, gelic_wl_get_name),

IW_HANDLER(SIOCGIWRANGE, gelic_wl_get_range),

IW_HANDLER(SIOCSIWSCAN, gelic_wl_set_scan),

IW_HANDLER(SIOCGIWSCAN, gelic_wl_get_scan),

IW_HANDLER(SIOCSIWAUTH, gelic_wl_set_auth),

IW_HANDLER(SIOCGIWAUTH, gelic_wl_get_auth),

IW_HANDLER(SIOCSIWESSID, gelic_wl_set_essid),

IW_HANDLER(SIOCGIWESSID, gelic_wl_get_essid),

IW_HANDLER(SIOCSIWENCODE, gelic_wl_set_encode),

IW_HANDLER(SIOCGIWENCODE, gelic_wl_get_encode),

IW_HANDLER(SIOCSIWAP, gelic_wl_set_ap),

IW_HANDLER(SIOCGIWAP, gelic_wl_get_ap),

IW_HANDLER(SIOCSIWENCODEEXT, gelic_wl_set_encodeext),

IW_HANDLER(SIOCGIWENCODEEXT, gelic_wl_get_encodeext),

IW_HANDLER(SIOCSIWMODE, gelic_wl_set_mode),

IW_HANDLER(SIOCGIWMODE, gelic_wl_get_mode),

IW_HANDLER(SIOCGIWNICKN, gelic_wl_get_nick),

};

 

 

 

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-compat.c

    1507          [IW_IOCTL_IDX(SIOCSIWENCODEEXT)]= (iw_handler) cfg80211_wext_siwencodeext,

1 match in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-compat.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-core.c

     238          [IW_IOCTL_IDX(SIOCSIWENCODEEXT)] = {

     812                  if (cmd == SIOCSIWENCODEEXT) {

 

 

static int ioctl_standard_iw_point

ioctl_standard_call

compat_standard_call

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8723bs\os_dep\ioctl_cfg80211.c

    1783  static int rtw_cfg80211_set_key_mgt(struct security_priv *psecuritypriv, u32 key_mgt)

    2214                  ret = rtw_cfg80211_set_key_mgt(psecuritypriv, sme->crypto.akm_suites[0]);

2 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8723bs\os_dep\ioctl_cfg80211.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-compat.c

    1031  static int cfg80211_set_key_mgt(struct wireless_dev *wdev, u32 key_mgt)

    1074                  return cfg80211_set_key_mgt(wdev, data->value);

2 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-compat.c

TOTAL:    4 matches in 2 files  (36713 other files without matches are not listed)

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\ethernet\toshiba\ps3_gelic_wireless.c

    1906          pr_debug("%s: psk=%s\n", __func__,

1 match in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\ethernet\toshiba\ps3_gelic_wireless.c

TOTAL:    1 match in 1 file  (36714 other files without matches are not listed)

 

 

/* SIOC{S,G}IWENCODEEXT */

static int gelic_wl_set_encodeext(struct net_device *netdev,

  struct iw_request_info *info,

  union iwreq_data *data, char *extra)

{

struct gelic_wl_info *wl = port_wl(netdev_priv(netdev));

struct iw_point *enc = &data->encoding;

struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

__u16 alg;

__u16 flags;

unsigned long irqflag;

int key_index;

int ret = 0;

 

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\ethernet\toshiba\ps3_gelic_wireless.c

    1207          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

    1234          if (!enc->length && (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY)) {

    1297          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

    1305          max_key_len = enc->length - sizeof(struct iw_encode_ext);

    1323          memset(ext, 0, sizeof(struct iw_encode_ext));

7 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\ethernet\toshiba\ps3_gelic_wireless.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\atmel\atmel.c

    1835          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

    1850          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

    1895          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\atmel\atmel.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\cisco\airo.c

    6453          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

    6479          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

    6559          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\cisco\airo.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intel\ipw2x00\ipw2200.c

    6765          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

    6771                          if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY)

3 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intel\ipw2x00\ipw2200.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intel\ipw2x00\libipw_wx.c

     522          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     541          if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) {

     643          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

     682          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     698          if (!(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) &&

     726                          ext->ext_flags |= IW_ENCODE_EXT_TX_SEQ_VALID;

8 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intel\ipw2x00\libipw_wx.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intersil\hostap\hostap_ioctl.c

    3203          struct iw_encode_ext *ext = (struct iw_encode_ext *) extra;

    3315           * TODO: if ext_flags does not have IW_ENCODE_EXT_RX_SEQ_VALID, the

    3317           * TODO: if ext_flags has IW_ENCODE_EXT_TX_SEQ_VALID, next TX seq#

    3320          if ((!(ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) || ext->key_len > 0)

    3330          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

    3380          struct iw_encode_ext *ext = (struct iw_encode_ext *) extra;

    3429                                  ext->ext_flags |= IW_ENCODE_EXT_TX_SEQ_VALID;

9 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intersil\hostap\hostap_ioctl.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intersil\orinoco\wext.c

     726          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     751          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

     785                          if (ext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID)

     793                                   ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY,

     820          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

7 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intersil\orinoco\wext.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intersil\prism54\isl_ioctl.c

    1544          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

    1568          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

    1653          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\intersil\prism54\isl_ioctl.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\ks7010\ks_wlan_net.c

    1538          struct iw_encode_ext *enc;

    1543          enc = (struct iw_encode_ext *)extra;

    1560          if (enc->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

    1563          } else if (enc->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID) {

    1638           * struct iw_encode_ext *enc;

    1639           * enc = (struct iw_encode_ext *)extra;

6 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\ks7010\ks_wlan_net.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8188eu\os_dep\ioctl_linux.c

    1862          struct iw_encode_ext *pext = (struct iw_encode_ext *)extra;

    1897          if (pext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY)

    1904              (pext->ext_flags & IW_ENCODE_EXT_GROUP_KEY))

    1909          if (pext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID)

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8188eu\os_dep\ioctl_linux.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192e\rtllib_wx.c

     529          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     547          if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) {

     644          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

4 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192e\rtllib_wx.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192e\rtl8192e\rtl_wx.c

     896                  struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     914                  group = ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY;

3 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192e\rtl8192e\rtl_wx.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192u\r8192U_wx.c

     737                  struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     750                  group = ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY;

3 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192u\r8192U_wx.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192u\ieee80211\ieee80211_wx.c

     512          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     530          if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) {

     630          if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {

     676          struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;

     692          if (!(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) &&

     719                          ext->ext_flags |= IW_ENCODE_EXT_TX_SEQ_VALID;

8 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8192u\ieee80211\ieee80211_wx.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8712\rtl871x_ioctl_linux.c

    1763          struct iw_encode_ext *pext = (struct iw_encode_ext *)extra;

    1793          if (pext->ext_flags & IW_ENCODE_EXT_GROUP_KEY)

    1795          if (pext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY)

    1798          if (pext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID)

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8712\rtl871x_ioctl_linux.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8723bs\os_dep\ioctl_linux.c

    2143          struct iw_encode_ext *pext = (struct iw_encode_ext *)extra;

    2182          if (pext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY)

    2189                  ((pext->ext_flags & IW_ENCODE_EXT_GROUP_KEY)

    2196          if (pext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID)

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8723bs\os_dep\ioctl_linux.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-compat.c

     632          struct iw_encode_ext *ext = (struct iw_encode_ext *) extra;

     704          if (ext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID) {

     711                          !(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY),

     713                          ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY,

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-compat.c

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-core.c

     241                  .min_tokens        = sizeof(struct iw_encode_ext),

     242                  .max_tokens        = sizeof(struct iw_encode_ext) +

     248                  .min_tokens        = sizeof(struct iw_encode_ext),

     249                  .max_tokens        = sizeof(struct iw_encode_ext) +

     813                          struct iw_encode_ext *ee = (void *) extra;

5 matches in O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-core.c

TOTAL:    98 matches in 18 files  (36697 other files without matches are not listed)

 

 

 

 

 

case WLAN_AKM_SUITE_PSK:

if (params->crypto.wpa_versions &

    NL80211_WPA_VERSION_1) {

bss_config->protocol = PROTOCOL_WPA;

bss_config->key_mgmt = KEY_MGMT_PSK;

}

if (params->crypto.wpa_versions &

    NL80211_WPA_VERSION_2) {

bss_config->protocol |= PROTOCOL_WPA2;

bss_config->key_mgmt = KEY_MGMT_PSK;

}

 

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\net\wireless\wext-compat.c

    1036                          IW_AUTH_KEY_MGMT_PSK))

    1045          if (key_mgt & IW_AUTH_KEY_MGMT_PSK) {

 

 

static int cfg80211_set_key_mgt(struct wireless_dev *wdev, u32 key_mgt)

{

int nr_akm_suites = 0;

 

if (key_mgt & ~(IW_AUTH_KEY_MGMT_802_1X |

IW_AUTH_KEY_MGMT_PSK))

return -EINVAL;

 

if (key_mgt & IW_AUTH_KEY_MGMT_802_1X) {

wdev->wext.connect.crypto.akm_suites[nr_akm_suites] =

WLAN_AKM_SUITE_8021X;

nr_akm_suites++;

}

 

if (key_mgt & IW_AUTH_KEY_MGMT_PSK) {

wdev->wext.connect.crypto.akm_suites[nr_akm_suites] =

WLAN_AKM_SUITE_PSK;

nr_akm_suites++;

}

 

wdev->wext.connect.crypto.n_akm_suites = nr_akm_suites;

 

return 0;

}

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\rtl8723bs\core\rtw_ieee80211.c

u8 WPA_AUTH_KEY_MGMT_PSK_OVER_802_1X[] = { 0x00, 0x50, 0xf2, 2 };

 

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\ks7010\ks_wlan_net.c

case IW_AUTH_KEY_MGMT:        /* 3 */

switch (value) {

case IW_AUTH_KEY_MGMT_802_1X:

case IW_AUTH_KEY_MGMT_PSK:

case 0:        /* NONE or 802_1X_NO_WPA */

case 4:        /* WPA_NONE */

priv->wpa.key_mgmt_suite = value;

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\wireless\rndis_wlan.c

 

static int rndis_akm_suite_to_key_mgmt(u32 akm_suite)

{

switch (akm_suite) {

default:

return RNDIS_WLAN_KEY_MGMT_NONE;

case WLAN_AKM_SUITE_8021X:

return RNDIS_WLAN_KEY_MGMT_802_1X;

case WLAN_AKM_SUITE_PSK:

return RNDIS_WLAN_KEY_MGMT_PSK;

}

}

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\net\ethernet\toshiba\ps3_gelic_wireless.c

 

     890                  if (param->value & IW_AUTH_KEY_MGMT_PSK)

 

 

case IW_AUTH_KEY_MGMT:

if (param->value & IW_AUTH_KEY_MGMT_PSK)

break;

 

 

 

 

O:\linux-4.19.2.tar\linux-4.19.2\linux-4.19.2\drivers\staging\ks7010\ks_hostif.c

case IW_AUTH_KEY_MGMT_PSK:

buf = (priv->wpa.version == IW_AUTH_WPA_VERSION_WPA2) ?

KEY_MGMT_ID_WPA2_PSK : KEY_MGMT_ID_WPA_PSK;

 

 

 

 

 

 

 

 

Wi-Fi 비번 해킹 힘들구먼.

 

 

 

 

 

반응형

'살며 생각하며,' 카테고리의 다른 글

개 발 일 지 031  (0) 2019.11.26
개 발 일 지 030  (0) 2019.11.25
개 발 일 지 028  (0) 2019.11.24
개 발 일 지 027  (0) 2019.11.20
개 발 일 지 025  (0) 2019.11.20
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기