Jaehyun Kim [Tue, 12 Sep 2023 07:15:50 +0000 (16:15 +0900)]
Add an interface property for 6GHz support
Change-Id: I425d27cab1bf49b51f1995749ef64e528c560915
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Mon, 17 Jul 2023 13:58:29 +0000 (22:58 +0900)]
Add est_throughput property on SignalPoll mothod
Change-Id: I8c76e93af9db0614a331c11edb3678f712aef7e4
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 20 Dec 2022 07:43:53 +0000 (16:43 +0900)]
Remove manual_scan_freqs when connecting
SelectNetworkFreq is a method added to scan only the channel
of the target SSID when connecting.
However, the manual_scan_freqs value set in the method is not removed
in time, so it is affecting the scan after connection.
So it is fixed to be removed in time.
Change-Id: Ib6e18bdd4f252a9b6028da781d6165ee97648c48
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Anjali Nijhara [Wed, 9 Nov 2022 04:21:54 +0000 (09:51 +0530)]
Imported Upstream version 2.10
Change-Id: I75baba7e9c9cde70e001ab19966967b3bbf5d4c9
Anjali Nijhara [Mon, 7 Nov 2022 08:02:39 +0000 (13:32 +0530)]
Imported Upstream version 2.10
Change-Id: I9819a674560c443b6c61d05520826ab503cdb2d7
Anjali Nijhara [Fri, 14 Oct 2022 05:22:21 +0000 (10:52 +0530)]
Revert "Imported Upstream version 2.10"
This reverts commit
b871f87615581bb1239534d07491985f5952e265.
Change-Id: Iddb88b088a36090044905563eb302430772edf4d
Anjali Nijhara [Mon, 3 Oct 2022 07:46:40 +0000 (13:16 +0530)]
Imported Upstream version 2.10
Change-Id: I73baefd78fdad9fd82ef060b7202c9212c3f0785
Jaehyun Kim [Mon, 19 Sep 2022 14:57:52 +0000 (23:57 +0900)]
Enable IEEE80211R and CONFIG_WNM
Change-Id: If6758a1b57214fd45e04f6ec7bacb6dff121532e
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Seonah Moon [Mon, 14 Feb 2022 05:48:39 +0000 (14:48 +0900)]
hostapd_cli: change CONFIG_CTRL_IFACE_DIR path
Tizen uses /var/run/network/hostapd for CONFIG_CTRL_IFACE_DIR
Change-Id: Ibc2f22bd45c36132693cdff23ceb0413a7058279
Jaehyun Kim [Sun, 19 Dec 2021 10:38:55 +0000 (10:38 +0000)]
Merge "Add SNR property on SignalPoll mothod" into tizen
cheoleun moon [Tue, 9 Nov 2021 07:55:27 +0000 (16:55 +0900)]
Add dbus configuration for robot profile
Change-Id: Ia1bb8f7a0e0846a0016dfb2ae996db129ec4cfb8
Jaehyun Kim [Mon, 4 Oct 2021 16:16:07 +0000 (01:16 +0900)]
Add SNR property on SignalPoll mothod
Change-Id: Icfba477b3511dc7c6521f6d025abd02bce8a4003
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Jaehyun Kim [Tue, 17 Aug 2021 12:02:05 +0000 (21:02 +0900)]
Add new getters for SNR and estimated throughput properties of bss
Change-Id: Ia37fa475ee71fb9b421706fa0d20f81602b71d22
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
Nishant Chaprana [Thu, 29 Apr 2021 09:57:56 +0000 (15:27 +0530)]
Clean dict entry after use and allow mac policy getters in all devices
Change-Id: I5f70fb3f7c354625c8b9867b636c399e541e1ee3
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Mon, 8 Mar 2021 08:50:15 +0000 (14:20 +0530)]
Add getter/setter for MAC Randomization
Change-Id: I6cdb4fdc9eff68187e7aae5bfaf54557e6d145db
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Prasadam Prashath Kumar [Mon, 26 Oct 2020 08:33:52 +0000 (14:03 +0530)]
Imported upstream wpa_supplicant version 2.9
Change-Id: I50802e7f8fefa248de247d03221e536512bcb4f8
Signed-off-by: Prasadam Prashath Kumar <prasadam.p@samsung.com>
Nishant Chaprana [Wed, 14 Oct 2020 07:44:25 +0000 (13:14 +0530)]
Imported Upstream version 2.9
Change-Id: I7170a5ab2b04bb87ff3a7aea7ce272d0bbbc2f16
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 9 Jul 2020 09:31:05 +0000 (15:01 +0530)]
[P2P] Add method to get list of supported channels
Change-Id: I68ffe0144ebe35771cf7523c7db95bdabc85d734
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Yu [Mon, 18 May 2020 01:36:14 +0000 (10:36 +0900)]
Remove length information for hexdump which isn't wanted to show
Change-Id: Ib54c8be08aad22c74faf9d6ae7b406a033b5ee87
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Nishant Chaprana [Wed, 8 Apr 2020 08:39:13 +0000 (14:09 +0530)]
[EAPoL] Enable wired driver interface
Change-Id: Iff2a0142b7cf3817543111c2d2964ae2adb9cd49
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Mon, 2 Mar 2020 10:42:33 +0000 (16:12 +0530)]
Sync test tools and examples with upstream version 2.8
Below folders are synced with upstream version 2.8
* tests
* wlantest
* wlandebug
* wpaspy
* hs20
* eap_example
Change-Id: If4dfe995df33f3a61272870b31c77cb6b5b5e29b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Semun Lee [Mon, 4 Nov 2019 14:09:23 +0000 (19:39 +0530)]
Donot use external_auth when driver does not support
Change-Id: I75ed950ace5b605a4fa13368e2a0926f6b495874
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Ashok Kumar [Fri, 24 May 2019 11:50:58 +0000 (17:20 +0530)]
SAE: Fix external_auth status in driver-SME STA case with AP SME support
A driver that uses internal AP SME may need to be able to use the
external_auth status operation in station mode, so do not skip this
solely based on drv->device_ap_sme; instead, use that condition only
when operating in AP mode.
Fix external_auth status in non SME case.
Change-Id: I2b7470c0677db329104d542fd7ab6b6a16145723
Signed-off-by: Ashok Kumar <aponnaia@codeaurora.org>
Cheoleun Moon [Thu, 17 Oct 2019 13:44:44 +0000 (22:44 +0900)]
Check return value
coverity: 42171
Change-Id: I5ca1d49fbd9aa7195d9ffe71838ea5b4923ff4e6
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Thu, 17 Oct 2019 13:31:34 +0000 (22:31 +0900)]
Fix memory leaks
coverity: 83294, 83295, 83297
Change-Id: I26b15be8e21ae8287ebf1a5c9d751d4db82ef2ec
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Cheoleun Moon [Thu, 17 Oct 2019 10:08:31 +0000 (19:08 +0900)]
Fix resource leaks
Change-Id: Ie5021f26da0b2f34572d864633ce53229d93ce8a
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
coverity: 34028, 34859
Yu [Thu, 29 Aug 2019 10:55:40 +0000 (19:55 +0900)]
Modify DPP DBus interface to use DPP through P2P interface
Change-Id: I9958f85dbe0699c0e045620b9cd48fa675ac04b2
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Jouni Malinen [Thu, 29 Aug 2019 08:52:04 +0000 (11:52 +0300)]
[Upstream] AP: Silently ignore management frame from unexpected source address
Do not process any received Management frames with unexpected/invalid SA
so that we do not add any state for unexpected STA addresses or end up
sending out frames to unexpected destination. This prevents unexpected
sequences where an unprotected frame might end up causing the AP to send
out a response to another device and that other device processing the
unexpected response.
In particular, this prevents some potential denial of service cases
where the unexpected response frame from the AP might result in a
connected station dropping its association.
CVE-2019-16275
https://w1.fi/security/2019-7/
Change-Id: I1f71ea4dd470176978858b53841fd5516548d95a
Signed-off-by: Jouni Malinen <j@w1.fi>
Jaehyun Kim [Tue, 27 Aug 2019 01:42:58 +0000 (01:42 +0000)]
Merge "Add GetP2PInterface DBus method" into tizen
Jaehyun Kim [Tue, 27 Aug 2019 01:42:40 +0000 (01:42 +0000)]
Merge "Add DBus interface for Device Provisioning Protocol" into tizen
INSUN PYO [Tue, 2 Jul 2019 01:42:52 +0000 (10:42 +0900)]
Remove unnecessary setting
Change-Id: I57c82109b2223c48927c667f5bce3abdc5fcbce9
Yu [Wed, 21 Aug 2019 06:00:11 +0000 (15:00 +0900)]
Add GetP2PInterface DBus method
Description: This method pass a P2P interface DBus object
to user. The P2P interface is initialized when proper Wi-Fi
interface is added.
Change-Id: I390ba9135f3d26a8d11ebd96a4c559ba1e5632c3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu [Fri, 16 Aug 2019 05:15:03 +0000 (14:15 +0900)]
Add DBus interface for Device Provisioning Protocol
Change-Id: I681703d08c06836bc78478efe33c9f6c2789c6dc
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Cheoleun Moon [Tue, 13 Aug 2019 07:11:39 +0000 (16:11 +0900)]
Add PIE option
Change-Id: I3b3bc10f4cba92422b322af9e202f3d3b87ba18f
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
Yu [Fri, 19 Jul 2019 06:13:49 +0000 (15:13 +0900)]
Add OWE and DPP features
Change-Id: Iafc30254155b1f479e00d7e8a88dd07b5fbb4142
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu [Fri, 19 Jul 2019 06:02:06 +0000 (15:02 +0900)]
Updates doxygen based on version 2.8
Change-Id: Ida792ec992e84d75c25f56be609f74a14c2b88ed
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Yu [Wed, 17 Jul 2019 06:58:19 +0000 (15:58 +0900)]
Updates wpa_supplicant configuration based on version 2.8
Change-Id: I2ce54cff90a357d1b83cb004ea55d050bc835683
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Jiung Yu [Wed, 17 Jul 2019 06:57:33 +0000 (06:57 +0000)]
Merge "Update openssl from 1.0.2 to 1.1.1" into tizen
Yu [Tue, 18 Jun 2019 07:34:48 +0000 (16:34 +0900)]
Update openssl from 1.0.2 to 1.1.1
Description: It seems that wpa_supplicant has used
openssl version 1.1.1 properly
Change-Id: I8efba9ca9a2390f351afea194d45a7d6189faf4b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Jaehyun Kim [Thu, 4 Jul 2019 05:09:51 +0000 (05:09 +0000)]
Merge "[HOSTAPD] Enable SAE config option in hostapd config file" into tizen
Seonah Moon [Mon, 24 Jun 2019 05:36:43 +0000 (14:36 +0900)]
Add excute permission to hostapd
Change-Id: Ib3604f25078da0b0b19f2c761b57c60285a1d6c9
Mayank Haarit [Wed, 19 Jun 2019 09:20:13 +0000 (14:50 +0530)]
[HOSTAPD] Enable SAE config option in hostapd config file
Change-Id: Ie32e7f3bb8746b0a4562c29406609acdf3537240
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
Nishant Chaprana [Fri, 7 Jun 2019 08:38:16 +0000 (14:08 +0530)]
Imported Upstream version 2.8
Change-Id: I95a2e5f8df97a807f43383f3ea7e38f4b2630cbf
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 6 Jun 2019 12:23:40 +0000 (17:53 +0530)]
Imported Upstream version 2.8
Change-Id: Ia4f7dd1c0e14e141635c34ff9e4a593fdae3906b
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 1 May 2019 05:19:56 +0000 (10:49 +0530)]
Use libnl-3.0 in place of libnl-2.0
Change-Id: I82c03a880b1ced4d6851ddd0a2656b374a5bfc1e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Abhishek Sansanwal [Thu, 13 Dec 2018 05:54:36 +0000 (11:24 +0530)]
Add 5Ghz band information to the "Capabilities" dbus call
Change-Id: I4a81a87f68cfd7baa07f10ad9d00fd4e6b199dfc
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Nishant Chaprana [Sat, 6 Oct 2018 12:19:32 +0000 (17:49 +0530)]
[Coverity #1019122] close socket only when sock contains valid values.
Change-Id: I10874204ddf98f09ca302a505e772f77590db79c
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Sat, 6 Oct 2018 12:17:03 +0000 (17:47 +0530)]
[Coverity #1030331] close socket only when sock contains valid values.
Change-Id: I14ba91d61292766428a4bb2de1e35510db78da93
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Sat, 6 Oct 2018 12:04:46 +0000 (17:34 +0530)]
[Coverity #1030332] Create Mesh interface only when both 'IsMeshInterface' and 'ParentIfname' entries are recieved
Change-Id: Iee6dd426c4710850e52adaebf7a224c3b04461e5
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Milind Murhekar [Thu, 4 Oct 2018 06:19:30 +0000 (11:49 +0530)]
[Fix] heap use after free
This patch fixes the heap use after
heap is freed.
Refer:-
http://suprem.sec.samsung.net/jira/browse/TFIVE-14540
wpa_supplicant causes heap-use-after-free on TM1
Change-Id: I74f6bddd2c2fec5e139b9697ca07e2ff5b0c698f
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
Milind Murhekar [Thu, 13 Sep 2018 06:39:19 +0000 (12:09 +0530)]
[ASAN Bug] Fix heap-buffer-overflow for memcmp
This patch fixes the Heap Buffer Overflow reported
by ASAN tool. memcmp() reads the corrupt address of ssid buffer
when ssid_len is less that 7 bytes only.
Refer:
[TFIVE-12946] [ASAN][BUG] heap-buffer-overflow in wpa_supplicant on TM1
URL: http://suprem.sec.samsung.net/jira/browse/TFIVE-12946
Change-Id: Ib711005669d79040192f808efe491fe515f0fa29
Signed-off-by: Milind Murhekar <m.murhekar@samsung.com>
Nishant Chaprana [Tue, 21 Aug 2018 12:16:11 +0000 (17:46 +0530)]
[Fix] Invalid memory access after ap_free_sta()
Change-Id: I5da4d60714efdf816b3377cd08b6690e922ced3c
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 7 Aug 2018 13:19:28 +0000 (18:49 +0530)]
[WPA Supplicant] Added Tizen Wi-Fi Mesh
Change-Id: Iab3a7587f67dc2ef26660915101c4488076a4716
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 3 Aug 2018 04:11:37 +0000 (09:41 +0530)]
Enabled Automatic Channel Selection
This will allow hostapd to pick the channel automatically when channel is set
to "acs_survey" or "0". Eventually, other ACS algorithms can be added in
similar way.
Automatic selection is currently only done through initialization, later on
we hope to do background checks to keep us moving to more ideal channels as
time goes by. ACS is currently only supported through the nl80211 driver and
your driver must have survey dump capability that is filled by the driver
during scanning.
You can customize the ACS survey algorithm with the hostapd.conf variable
acs_num_scans.
Supported ACS drivers:
* ath9k
* ath5k
* ath10k
For more details refer to:
http://wireless.kernel.org/en/users/Documentation/acs
Change-Id: I732057694dc26c810dcc4e39abcd2119b9920ae7
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 3 Aug 2018 03:23:50 +0000 (08:53 +0530)]
[Upstream] ACS: Avoid invalid interference factor when survey channel time is zero
When the channel time is zero the interference factor calculation falls
under divide by zero operation which results in invalid (NaN =
not-a-number) interference factor value. This leads to wrong ideal
channel selection in ACS during the scenario described below.
Scenario:
In VHT80 mode, the channel 36 (first channel) gets the channel time as
zero which causes the interfactor factor to be an invalid number (NaN).
Any operations (like addition, mulitplication, divide, etc.) with NaN
value results in a NaN value, so that average factor for the primary
channel 36 got the invalid value (NaN). Since channel 36 is the first
channel, ideal factor is assigned as NaN in the first iteration. The
following iteration condition check (factor < ideal_factor) with a NaN
value fail for all other primary channels. This results in channel 36
being chosen as the ideal channel in ACS which holds a NaN value.
Logs:
ACS: Survey analysis for channel 36 (5180 MHz)
ACS: 1: min_nf=-103 interference_factor=nan nf=0 time=0 busy=0 rx=0
ACS: 2: min_nf=-103 interference_factor=0.615385 nf=-102 time=13 busy=8 rx=0
ACS: 3: min_nf=-103 interference_factor=2.45455 nf=0 time=22 busy=16 rx=0
ACS: 4: min_nf=-103 interference_factor=0.785714 nf=-103 time=42 busy=33 rx=0
ACS: 5: min_nf=-103 interference_factor=nan nf=0 time=0 busy=0 rx=0
ACS: * interference factor average: nan
...
ACS: * channel 36: total interference = nan
..
ACS: * channel 149: total interference = 5.93174e-21
..
ACS: Ideal channel is 36 (5180 MHz) with total interference factor of nan
Link: https://w1.fi/cgit/hostap/commit/?id=c4dd3afa3c492cfa339c7102e4acd6be15598e1c
Change-Id: If25472c7f29912cf68aa1d7408750dff5f5d7c5a
Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 3 Aug 2018 03:22:03 +0000 (08:52 +0530)]
[Upstream] ACS: Fix memory leak if interface is disabled during scan
The survey data was not freed if hostapd interface got disabled during
an ACS scan.
Link: https://w1.fi/cgit/hostap/commit/?id=4c803dfcd7f019256da808b01c9ddeccafa31a52
Change-Id: Icbd80dea03497fdd92ec394f728df8b67082aa95
Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Fri, 3 Aug 2018 03:17:47 +0000 (08:47 +0530)]
[Upstream] ACS: Simplify code paths
This removes some unnecessarily duplicated return paths and simplifies
code paths.
Link: https://w1.fi/cgit/hostap/commit/?id=29be2c090e051c4f2bad3838ab8ffb13563ce668
Change-Id: I4700fa17fba849ab3369ba030c6412ad7ef94d24
Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 1 Aug 2018 06:38:42 +0000 (12:08 +0530)]
Remove unwanted '+' from function call
Change-Id: I4a5dae7a40dbe644ae6d6d6d2fd84ba0e01045df
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jouni Malinen [Sat, 14 Jan 2017 15:41:20 +0000 (17:41 +0200)]
[Upstream] D-Bus: Add GroupMgmt entry into the interface Capabilities dict
This can be used to determine whether the driver supports PMF and if so,
with which group management cipher suites. In addition, add the missing
pairwise and group cipher suite values to the documentation while adding
this new entry there as well.
Link: https://w1.fi/cgit/hostap/commit/?id=117875db331f3c858fbfe23e0db415dd9fcb2a6d
Change-Id: I76339e1839aaa05a797b7e5ed8ee8bba4c4e8109
Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jouni Malinen [Sat, 14 Jan 2017 15:28:25 +0000 (17:28 +0200)]
[Upstream] tests: D-Bus Get/Set Pmf
Link: https://w1.fi/cgit/hostap/commit/?id=76055b4c6115620421313038b6128f3b93d5160e
Change-Id: I185fe053fdbfa54f50ebd248018351dfc26d8a7f
Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Stijn Tintel [Thu, 12 Jan 2017 16:13:26 +0000 (17:13 +0100)]
[Upstream] D-Bus: Implement Pmf property
The Pmf property is documented in doc/dbus.doxygen, but does not exist,
so implement it.
Link: https://w1.fi/cgit/hostap/commit/?id=adf8f45f8af27a9ac9429ecde81776b19b6f9224
Change-Id: If2acddd4091bbd854468be298b4896968f5c0cde
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Stijn Tintel [Thu, 5 Jan 2017 15:06:33 +0000 (16:06 +0100)]
[Upstream] D-Bus: Add pmf to global capabilities
This indicates that the wpa_supplicant binary has been compiled with PMF
support.
Link: https://w1.fi/cgit/hostap/commit/?id=3cdb4ac074f76accf24a51d143db545afad2c90b
Change-Id: Ia44a972ce1333dfbf4218f7576bcbfde12c40bc4
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 22 May 2018 07:13:17 +0000 (12:43 +0530)]
Enabled IEEE80211W (Protected Management Frames)
To enable IEEE80211W, use below configuration parameter
format:
ieee80211=<value>
<value> can be from below options:-
0 - No management frame protection
1 - Management frame protection optional
2 - Management frame protection mandatory
example:-
ieee80211w=1
Change-Id: I309789b156eec2717f6e7af0498b356f869a6d80
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
taesub kim [Wed, 2 May 2018 01:49:22 +0000 (10:49 +0900)]
Modified dbus policy for wps pin generation
Change-Id: I4514bbdeae78749b428e2333672240287150baa6
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
taesub kim [Mon, 26 Feb 2018 23:09:45 +0000 (23:09 +0000)]
Merge "[Dbus] Extract vsie in peer properties" into tizen
taesub kim [Mon, 26 Feb 2018 08:48:45 +0000 (08:48 +0000)]
Merge "[wpa-supplicant] Enable EAP-AKA' support." into tizen
Nishant Chaprana [Tue, 13 Feb 2018 11:10:11 +0000 (16:40 +0530)]
[Dbus] Extract vsie in peer properties
Change-Id: I63ce5d6226de2ae1a2ed78ec6fc0814e2e5a1d92
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Jiung [Tue, 20 Feb 2018 09:36:52 +0000 (18:36 +0900)]
Fix SVace 306822
Change-Id: Id535b3304d1e2bb29ff48ac58fe8acd7f03cc39c
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Niraj Kumar Goit [Fri, 16 Feb 2018 12:12:25 +0000 (17:42 +0530)]
[wpa-supplicant] Enable EAP-AKA' support.
Change-Id: I3a0617a971c434a6048b0b431df9b6dad29b4596
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Seonah Moon [Fri, 12 Jan 2018 07:56:27 +0000 (16:56 +0900)]
Imported Upstream version 2.6
Change-Id: I9585c2e589ca941ad0cb644e3e470eca5e049686
Seonah Moon [Fri, 12 Jan 2018 06:13:25 +0000 (15:13 +0900)]
[TFIVE-22] Fix crash issue
Change-Id: Ie1f72866074e02a241ff76cb11e3e4326c24f955
taesub kim [Thu, 4 Jan 2018 12:27:07 +0000 (21:27 +0900)]
Change time log's display expression like year-month-day hour:min:sec.milisec
Change-Id: Ib0b0a135b2d7632b5ff8edcf8398bf111af7ad60
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Saurav Babu [Wed, 27 Dec 2017 09:57:47 +0000 (15:27 +0530)]
wpa_supplicant: Add new getter for HS2.0 property of bss
Change-Id: I232cc991b0945eaf6f195c2a55c1cffccb8614b2
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
taesub kim [Tue, 19 Dec 2017 11:07:02 +0000 (20:07 +0900)]
Added APIs to set/get enable or disable of passpoint
Change-Id: Ie0185c7567784f27f65c7b5f460cec8a46d794e4
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Jiung [Fri, 15 Dec 2017 02:30:11 +0000 (11:30 +0900)]
Add checking parent for FindStop signal
Description: FindStop signal was not generated for the type
of interface which has seperated group interface
Change-Id: I8dc4dec2a238561150a88a3b754aae3c18fc9a7d
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
taesub kim [Sun, 26 Nov 2017 23:11:14 +0000 (08:11 +0900)]
Added cap_dac_override capability
Change-Id: Id2b9f815c7ce60baa10d151270622f9b84cdedfc
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Wed, 15 Nov 2017 01:11:41 +0000 (10:11 +0900)]
Added security-config requires
Change-Id: I897daddd03eb0687bc2d41c6c70d036978215ccf
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
taesub kim [Wed, 8 Nov 2017 03:54:47 +0000 (03:54 +0000)]
Merge "D-Bus: Add "AssocStatusCode" staus code property for failure cases" into tizen
Saurav Babu [Tue, 31 Oct 2017 06:08:51 +0000 (11:38 +0530)]
wpa_supplicant:Removed usleep from wpa_supp.sh file
/bin/usleep doesn't exist, so warning message is printed
/usr/bin/wpa_supp.sh: line 31: /bin/usleep: No such file or directory
Change-Id: Idcb1a8eb56a7e81a385be57b721c0e0a447f27f6
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Maneesh Jain [Wed, 25 Oct 2017 05:04:53 +0000 (10:34 +0530)]
D-Bus: Add "AssocStatusCode" staus code property for failure cases
(Re)Association Response frame with status code other than 0 is now
notified over DBUS as a part of PropertiesChanged signal. This can be
used by application in case AP is denying association with status code
17 (band steering) so that it does not interfere in the BSSID selection
logic of wpa_supplicant.
Back-port from upstream supplicant
commit id :
c7fb678f3109e62af1ef39be9b12bf8370c35bde
Change-Id: I1d12e5c9485d102017356f6845c35dc3d438de45
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
Saurav Babu [Tue, 17 Oct 2017 07:21:56 +0000 (12:51 +0530)]
[Upstream] Fixed critical WPA2 security issues
WPA packet number reuse with replayed messages and key reinstallation
Below upstream patches were added:
1. http://w1.fi/cgit/hostap/commit/?id=
94fb165c
2. http://w1.fi/cgit/hostap/commit/?id=
8e509745
3. http://w1.fi/cgit/hostap/commit/?id=
dc55b6b672d95c05683ec6beca023d96ef3dc595
4. http://w1.fi/cgit/hostap/commit/?id=
bb598c3bdd0616f0c15e1a42e99591d8f3ff3323
5. http://w1.fi/cgit/hostap/commit/?id=
3f81ac0762a1b99e0b4fcbd38fca0f8da6aa7b03
6. http://w1.fi/cgit/hostap/commit/?id=
dd9a42ef
7. http://w1.fi/cgit/hostap/commit/?id=
5ef0b843
8. http://w1.fi/cgit/hostap/commit/?id=
afa453a2
9. http://w1.fi/cgit/hostap/commit/?id=
7405bb06ca29f8d06d105d49d2475b11be1f00eb
10. http://w1.fi/cgit/hostap/commit/?id=
ae33239c555313e547b9a2a376c927ec50e2b9de
11. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
12. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
13. http://w1.fi/cgit/hostap/commit/?id=
ad00d64e
14. http://w1.fi/cgit/hostap/commit/?id=
c93b7e18
15. http://w1.fi/cgit/hostap/commit/?id=
73ed03f3
16. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
17. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
18. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
19. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
20. http://w1.fi/cgit/hostap/commit/?id=
dacd789f6
21. http://w1.fi/cgit/hostap/commit/?id=
03ed0a523
22. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0007-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
23. https://w1.fi/cgit/hostap-www/diff/security/2017-1/rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch?id=
16296c7e2dbde9a580b01592fee1abf2ec8b0224
Change-Id: I729e3309355cc9a6ce762281d56cb198ae1132e2
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
taesub kim [Tue, 17 Oct 2017 05:16:11 +0000 (14:16 +0900)]
Imported Upstream version 2.6
Change-Id: I4a6e05675b4c2f4bc8c17186bf6f81fdaabcda76
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Saurav Babu [Tue, 10 Oct 2017 05:08:03 +0000 (10:38 +0530)]
Disable Schedule scan support in Tizen
Tizen performs automatic background scan using net-config, it is not
required to perform scheduled scan in wpa_supplicant itself. Due to
scheduled scan sometimes background scan requested by net-config fails
with error "Already in Progress". This patch disables schedule scan even
when driver supports it
Change-Id: I0601635491db1ef7bb92ef444b0155121196e9c9
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Jiung [Thu, 28 Sep 2017 02:09:55 +0000 (11:09 +0900)]
Fix defects detected by static analyzer
Change-Id: I08550282b037886ed1801ea11981c02250cf6881
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
taesub kim [Mon, 25 Sep 2017 23:50:27 +0000 (08:50 +0900)]
Modified the timeout value when the "scan completed" event is not supported
Change-Id: Ic2367464f26d79b42c643c0b787be23f3bf5cd40
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Jiung [Tue, 12 Sep 2017 09:47:16 +0000 (18:47 +0900)]
Fix build warnings
Change-Id: Iae03c78a1f27113afa46109b995c3ad7516c5926
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
Sunmin Lee [Wed, 6 Sep 2017 07:50:21 +0000 (16:50 +0900)]
Remove not supported update script
RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
(Tizen 4.0 does not support upgrade from Tizen 2.4)
Remove this file in terms of clearing the redundancy.
Change-Id: I590dceb3a3bc5563383bc96438fef90e011edae6
chleun.moon [Tue, 5 Sep 2017 04:27:34 +0000 (13:27 +0900)]
Change file owner and group
Change-Id: I116714a02da97ea6c06cfe8b1f5f9900b90ae3f0
Signed-off-by: cheoleun <chleun.moon@samsung.com>
taesub kim [Wed, 2 Aug 2017 02:24:48 +0000 (11:24 +0900)]
Removed the log file when it is larger than 1Mbytes
Change-Id: Icc5074c477dab9f4ea5a7a868152f6f062eebe60
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Niraj Kumar Goit [Fri, 28 Jul 2017 11:56:36 +0000 (17:26 +0530)]
Extend VENDOR_ELEM parameters to cover non-P2P Probe Request frame
The new VENDOR_ELEM value 14 can now be used to add a vendor element
into Probe Request frames used by non-P2P active scans.
Change-Id: I53d8cba6e85f52a57589ff8ba87fe4aa46426fc5
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
taesub kim [Thu, 22 Jun 2017 08:50:03 +0000 (17:50 +0900)]
Migrate root daemon to non root
Change-Id: Ia4a4efcdf68b24d990e5604fb13e2603db341791
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Jaehyun Kim [Fri, 16 Jun 2017 12:00:25 +0000 (21:00 +0900)]
Separate client tools into a separate package
Change-Id: Ibb77fce318a3bc61d793efd04807fae842f03e94
Nishant Chaprana [Mon, 22 May 2017 15:13:24 +0000 (20:43 +0530)]
[Wi-Fi Direct tethering] Add handling for "ssid" in GroupAdd method call.
Description: This patch changes behaviour of GroupAdd call when ssid
parameter is sent with GroupAdd method call. Access Point with ssid provided
in method call is created for catering Wi-Fi Direct tethering.
Change-Id: Idec74f4ac32f55495e4b2c76710e728d7a10cb6d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 2 May 2017 04:59:38 +0000 (10:29 +0530)]
Fixed build warning
[ 66s] dbus/dbus_new.c: In function 'wpas_dbus_signal_p2p_sd_asp_response':
[ 66s] dbus/dbus_new.c:2091:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
[ 66s] if(!wpa_dbus_dict_close_write(&iter, &dict_iter))
[ 66s] ^~
[ 66s] dbus/dbus_new.c:2094:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
[ 66s] dbus_connection_send(iface->con, msg, NULL);
[ 66s] ^~~~~~~~~~~~~~~~~~~~
[ 67s] wpa_supplicant.c: In function 'wpa_supplicant_set_state':
[ 67s] wpa_supplicant.c:763:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
[ 67s] if (os_strcmp(wpa_s->ifname , "p2p-wlan0-0") == 0)
[ 67s] ^~
[ 67s] wpa_supplicant.c:769:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
[ 67s] wpa_msg(wpa_s->parent, MSG_INFO, WPA_EVENT_CONNECTED "- Connection to "
[ 67s] ^~~~~~~
Change-Id: Iad71a470cd1de9b406d6b61bcce417103f65e170
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Tue, 2 May 2017 04:47:45 +0000 (10:17 +0530)]
[Dbus][TDLSChannelSwitch] Resolved comments received from upstream community.
Change-Id: I38264fa4729b3aa2e47e92d6d2fbe443f2e1eadf
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Thu, 20 Apr 2017 10:38:00 +0000 (16:08 +0530)]
Fixed issue in TDLSChannelSwitch parameter parsing
Change-Id: I44b89e35504aaa437b4e52ed005dcbcdfb6e4c6d
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
taesub kim [Thu, 13 Apr 2017 06:13:49 +0000 (23:13 -0700)]
Merge "TDLS: Added new dbus method to enable channel switching with TDLS peer." into tizen
taesub kim [Thu, 13 Apr 2017 06:13:39 +0000 (23:13 -0700)]
Merge "TDLS: Added new dbus method to cancel TDLS channel switch operation." into tizen
Nishant Chaprana [Wed, 12 Apr 2017 09:26:18 +0000 (14:56 +0530)]
TDLS: Added new dbus method to enable channel switching with TDLS peer.
Description: This patch adds "TDLSChannelSwitch" dbus method on "fi.w1.wpa_supplicant1.Interface"
interface to enable channel switching with TDLS peer
Change-Id: Ife09e50f35c17a62c43928fa5129f44c866d427e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Nishant Chaprana [Wed, 12 Apr 2017 04:38:24 +0000 (10:08 +0530)]
TDLS: Added new dbus method to cancel TDLS channel switch operation.
Description: This patch adds "TDLSCancelChannelSwitch" dbus method
on "fi.w1.wpa_supplicant1.Interface" interface
to cancel ongoing TDLS channel switch operation.
Change-Id: Iacd58f986522a45d92486586398571ba4c4fec0c
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>