How to modify wpa_supplicant to read a new SSID configuration parameter

Samitha Wijedasa samitha.wijedasa at yahoo.com
Wed Jun 11 12:02:44 EDT 2014


 
Hi,

I have introduce a new parameter
"snrtresld" to filter-out BSSIDs below a threshold from the
scan results before priority matching occurs. I have introduce it per
Network block basis (per SSID basis). Within wpa_supplicant I can
access this parameter in scan.c to filter the lower SNR BSSIDs now.
But now the supplicant always says "skip - SSID mismatch" even-though a matching SSID is there in resulting scan results after filtering. 

What are the files I need to edit when
introducing a new parameter ?


I edited, 

1. static const struct parse_data
ssid_fields[] of config.c and included { INT(snrtresld) },


2. Edited config_ssid.h and introduce
"int snrtresld";

with above modifications I can access
my new parameter from wpa_supplicant.conf files and remove the
BSSIDs, but above problem persists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20140611/c41587fc/attachment.htm>


More information about the HostAP mailing list