summaryrefslogtreecommitdiff
path: root/src/tests/test-wifi-ap-utils.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-18core: remove 'wep40' and 'wep104' from several places in NMJiří Klimeš1-8/+0
wep40 and wep104 are not valid values for 'pairwise' property and they are not used for dynamic WEP as 'group' ciphers as well. See https://bugzilla.redhat.com/show_bug.cgi?id=1005171 for some details.
2013-09-02test: remove deprecated 'security' property from testsJiří Klimeš1-13/+8
Adjust tests not to use deprecated 'security' property.
2013-02-26tests: clean up gtester usageDan Winship1-105/+220
Use g_test_add_func() and g_test_add_data_func() to simplify the test cases, getting rid of the GLIB_CHECK_VERSION calls in the process.
2011-12-06core: use nm_connection_get_setting_<type>() whenever possibleThomas Graf1-4/+4
Leads to shorter, easier to read code and improves type casting safety. Signed-off-by: Thomas Graf <tgraf@redhat.com>
2011-04-11wifi: fix connection completion when no wifi setting is sentDan Williams1-0/+8
In NMDeviceWifi's real_complete_connection() the wifi setting was looked up at the start of the function, but if no wifi setting was sent by the caller, it would be NULL. The wifi setting would later get added by nm_ap_utils_complete_connection(), but after calling that the new wifi setting would not be looked up again. Make that clearer by moving the wifi setting add code to the wifi device's real_complete_connection() and not burying it in some other function. This is more like what other device types do.
2011-03-30tests: test more combinations of wifi AP security flags for connection ↵Dan Williams1-46/+78
completion
2011-03-13wifi: fix scanned signal strength calculation for WEXT-based driversDan Williams1-0/+56
The new wpa_supplicant D-Bus interface only passes back the 'level' of the scanned BSS, which with nl80211 drivers is almost always dBm, which NM handled fine. But WEXT-based drivers (ipw2x00, other older ones, and some vendor drivers) use a mix of values for the 'level' parameter, including the old WEXT 8-bit signed-value-in-unsigned-int scheme. Handle that. Alternatively, we could have the supplicant expose the 'flags' value from its internal BSS list over the bus.
2011-01-12tests: add some comments to the wifi connection completion testsDan Williams1-2/+105
2011-01-12wifi: add RSN connection completion testsDan Williams1-41/+61
2011-01-12wifi: add more AP connection completion tests for EAPDan Williams1-106/+133
2011-01-11wifi: add more AP connection completion testsDan Williams1-29/+264
2011-01-11wifi: simplify AP connection completion testcaseDan Williams1-240/+226
Make it clearer exactly what settings are added to the source connection, and what to the expected one.
2011-01-10core: add AddAndActivate D-Bus methodDan Williams1-0/+973
Given connection details, complete the connection as well as possible using the given specific object and device, add it to system settings, and activate it all in one method.