wraith-wireless / PyRIC

Python wireless library for Linux
http://wraith-wireless.github.io/PyRIC
Other
93 stars 51 forks source link

New kernel 4 definitions in nl80211_h #16

Closed wraith-wireless closed 7 years ago

wraith-wireless commented 8 years ago

@blackHatMonkey, referring back to Issue #1, one of your cards (a ath9k_htc) returned a interface type as * Unknown mode (11) . I've added the constant, NL80211_IFTYPE_OCB , for this IFTYPE in nl80211.h. Once you clone the lastest version from Github, can you run pyw.phyinfo on this card and see if it returns 'ocb' or still returns unknown.

Thanks

ghost commented 8 years ago

I will let you know.

wraith-wireless commented 8 years ago

Thanks man - it's not an immediate concern, take your time.

ghost commented 7 years ago

sorry for the delay. Here is the output of phyinfo:

{'retry_long': 4, 'scan_ssids': 4, 'generation': 1, 'ciphers': ['WEP-40', 'WEP-104', 'TKIP', 'CCMP', 'RSRV-0xfac0a', 'GCMP', 'RSRV-0xfac09', 'AES-CMAC', 'RSRV-0xfac0d', 'RSRV-0xfac0b', 'RSRV-0xfac0c'], 'swmodes': ['AP VLAN', 'monitor'], 'commands': [u'new_interface', u'set_interface', u'new_key', u'start_ap', u'new_station', u'new_mpath', u'set_mesh_config', u'set_bss', u'authenticate', u'associate', u'deauthenticate', u'disassociate', u'join_ibss', u'join_mesh', u'remain_on_channel', u'set_tx_bitrate_mask', u'frame', u'frame_wait_cancel', u'set_wiphy_netns', u'set_channel', u'set_wds_peer', u'tdls_mgmt', u'tdls_oper', u'probe_client', u'set_noack_map', u'register_beacons', u'start_p2p_device', u'set_mcast_rate', u'connect', u'disconnect'], 'modes': ['ibss', 'managed', 'AP', 'AP VLAN', 'monitor', 'mesh', 'p2p_client', 'p2p_go', 'ocb'], 'cov_class': 0, 'freqs': [2412, 2417, 2422, 2427, 2432, 2437, 2442, 2447, 2452, 2457, 2462, 2467, 2472, 2484], 'frag_thresh': 'off', 'rts_thresh': 'off', 'retry_short': 7}

Let me know if you need anything else.