awkman / pywifi

A cross-platform module for manipulating WiFi devices.
MIT License
447 stars 154 forks source link

Possible use WlanGetAvailableNetworkList instead of WlanGetNetworkBssList #14

Closed wgaylord closed 5 years ago

wgaylord commented 7 years ago

This would be helpful because you could fill in almost all the info in the Profile for a network. (On windows at least.)

(I realize I am making a lot of Issues I just really like using this.)

awkman commented 7 years ago

Yes. You are right. I almost forget that now it's impossible to get the auth alg and akm info in Windows part. Could you help on this?!

wgaylord commented 7 years ago

Yes. I will work on it today. (During one of my boring classes)

awkman commented 7 years ago

Thanks :)

wgaylord commented 7 years ago

Sorry about not doing anything today. (I was going to actually just finish it today.) Windows decide to corrupt its Cache_Manager.. :( But I fixed it.

awkman commented 7 years ago

It's OK. Never feel stressful about distribution. I appreciate all of you even just some suggestions :)

wgaylord commented 7 years ago

Okay. I figured out that unlike WLAN_BSS_ENTRY , WLAN_AVAILABLE_NETWORK does not have the BSSID. Which makes this alittle harder. (Could call both and match the entries up to get the full data)

wgaylord commented 7 years ago

Yeah. Sort of stuck. Because WLAN_AVAILABLE_NETWORK does not know the BSSIDs (Known how many are associated to one SSID but. While WLAN_BSS_ENTRY does not know about auth alg or akm.

awkman commented 7 years ago

I think the only way to solve this is call both of those functions to obtain information we need

wgaylord commented 7 years ago

Yeah. But I am not sure how to match them up other than using the data from the available call for all profiles with the same ssid. I will take a look at it. Might be able to figure it out.

Sent from my iPad

On Nov 17, 2016, at 8:49 AM, Awk notifications@github.com wrote:

I think the only way to solve this is call both of those functions to obtain information we need

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ChrUnt commented 7 years ago

Hi,

just a short question and I'm not sure if it's offtopic, but why is it impossible to get auth and akm info in Windows part? Whenever I try toget the auth information I get numbers like 1041, 1025 and so on.

Is it a bug?

wgaylord commented 7 years ago

Well for scan it is. I am working on fixing that.

On Dec 9, 2016 8:22 AM, "ChrUnt" notifications@github.com wrote:

Hi,

just a short question and I'm not sure if it's offtopic, but why is it impossible to get auth and akm info in Windows part? Whenever I try toget the auth information I get numbers like 1041, 1025 and so on.

Is it a bug?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/awkman/pywifi/issues/14#issuecomment-266024900, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCNycxOdTpowuRGWvkC-eLpnlweUqVJks5rGWQ8gaJpZM4Kt0z6 .

wgaylord commented 7 years ago

I am don't doing very well at figuring this out. (Mostly I am having trouble with the ctypes stuff)

awkman commented 7 years ago

@chibill It's fine!! I will take it up

awkman commented 7 years ago

@chibill I already uploaded the modification early