<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/rtl8712, branch v5.13</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: rtl8712: fix wrong function output</title>
<updated>2021-04-09T14:16:10+00:00</updated>
<author>
<name>Sergei Krainov</name>
<email>sergei.krainov.lkd@gmail.com</email>
</author>
<published>2021-04-09T12:46:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3f8f36da0c5d6c40d90fc144d41d04950b9ec03f'/>
<id>3f8f36da0c5d6c40d90fc144d41d04950b9ec03f</id>
<content type='text'>
Return NULL from r8712_find_network() if no matched wlan_network
was found. Code with a bug:

while (plist != phead) {
	pnetwork = container_of(plist, struct wlan_network, list);
	plist = plist-&gt;next;
	if (!memcmp(addr, pnetwork-&gt;network.MacAddress, ETH_ALEN))
		break;
}
spin_unlock_irqrestore(&amp;scanned_queue-&gt;lock, irqL);
return pnetwork;

In this code last processed pnetwork returned if list end was reached
and no pnetwork matched test condition.

Signed-off-by: Sergei Krainov &lt;sergei.krainov.lkd@gmail.com&gt;
Link: https://lore.kernel.org/r/20210409124611.GA3981@test-VirtualBox
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return NULL from r8712_find_network() if no matched wlan_network
was found. Code with a bug:

while (plist != phead) {
	pnetwork = container_of(plist, struct wlan_network, list);
	plist = plist-&gt;next;
	if (!memcmp(addr, pnetwork-&gt;network.MacAddress, ETH_ALEN))
		break;
}
spin_unlock_irqrestore(&amp;scanned_queue-&gt;lock, irqL);
return pnetwork;

In this code last processed pnetwork returned if list end was reached
and no pnetwork matched test condition.

Signed-off-by: Sergei Krainov &lt;sergei.krainov.lkd@gmail.com&gt;
Link: https://lore.kernel.org/r/20210409124611.GA3981@test-VirtualBox
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: remove (most of) enum WIFI_FRAME_TYPE</title>
<updated>2021-04-09T14:14:33+00:00</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2021-04-08T19:58:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8b4fa9c356c37f212261ecc2f5396ccc4801e3b4'/>
<id>8b4fa9c356c37f212261ecc2f5396ccc4801e3b4</id>
<content type='text'>
The values defined in enum WIFI_FRAME_TYPE are the same the #define
IEEE80211_FTYPE_xxx from &lt;linux/ieee80211.h&gt;

Use these values to avoid code duplication.

WIFI_QOS_DATA_TYPE is a bit more tricky and doesn't have a direct
equivalence in &lt;linux/ieee80211.h&gt;. So leave this one as-is for now.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/e009a4ee6429a3f79742f9a912e3f6a650fb33ed.1617911201.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The values defined in enum WIFI_FRAME_TYPE are the same the #define
IEEE80211_FTYPE_xxx from &lt;linux/ieee80211.h&gt;

Use these values to avoid code duplication.

WIFI_QOS_DATA_TYPE is a bit more tricky and doesn't have a direct
equivalence in &lt;linux/ieee80211.h&gt;. So leave this one as-is for now.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/e009a4ee6429a3f79742f9a912e3f6a650fb33ed.1617911201.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: remove enum WIFI_FRAME_SUBTYPE</title>
<updated>2021-04-09T14:14:33+00:00</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2021-04-08T19:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6e2baa44c6d1f455fae887112f0c2926a7d253e4'/>
<id>6e2baa44c6d1f455fae887112f0c2926a7d253e4</id>
<content type='text'>
The values defined in enum WIFI_FRAME_SUBTYPE are the same the #define
IEEE80211_STYPE_xxx from &lt;linux/ieee80211.h&gt;

Use theses values to avoid code duplication.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/5a6fdcf0b5eb43c3d5511b5badd60bfac9389628.1617911201.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The values defined in enum WIFI_FRAME_SUBTYPE are the same the #define
IEEE80211_STYPE_xxx from &lt;linux/ieee80211.h&gt;

Use theses values to avoid code duplication.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/5a6fdcf0b5eb43c3d5511b5badd60bfac9389628.1617911201.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: remove struct rtl_ieee80211_ht_cap and ieee80211_ht_addt_info</title>
<updated>2021-04-09T14:14:33+00:00</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2021-04-08T19:58:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=63ee275711d55d74551265a230f760b660a8c2f8'/>
<id>63ee275711d55d74551265a230f760b660a8c2f8</id>
<content type='text'>
struct 'ieee80211_ht_addt_info' is unused and can be removed.

struct 'rtl_ieee80211_ht_cap' can be replaced by 'ieee80211_ht_cap'
defined in &lt;linux/ieee80211.h&gt; which has the same layout.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/4291cb10744457cc12c89fc9fd414c37d732bc9d.1617911201.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
struct 'ieee80211_ht_addt_info' is unused and can be removed.

struct 'rtl_ieee80211_ht_cap' can be replaced by 'ieee80211_ht_cap'
defined in &lt;linux/ieee80211.h&gt; which has the same layout.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/4291cb10744457cc12c89fc9fd414c37d732bc9d.1617911201.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: add spaces around '+'</title>
<updated>2021-04-09T14:11:23+00:00</updated>
<author>
<name>Mitali Borkar</name>
<email>mitaliborkar810@gmail.com</email>
</author>
<published>2021-04-08T11:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=bb40b33d3045c147b7a42ec3750c76bfe09c2198'/>
<id>bb40b33d3045c147b7a42ec3750c76bfe09c2198</id>
<content type='text'>
Added spaces around '+' to improve readability and adhere to linux
kernel coding style.
Reported by checkpatch

Signed-off-by: Mitali Borkar &lt;mitaliborkar810@gmail.com&gt;
Link: https://lore.kernel.org/r/YG7uLQLGmAh97xB1@kali
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added spaces around '+' to improve readability and adhere to linux
kernel coding style.
Reported by checkpatch

Signed-off-by: Mitali Borkar &lt;mitaliborkar810@gmail.com&gt;
Link: https://lore.kernel.org/r/YG7uLQLGmAh97xB1@kali
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: removed extra blank line</title>
<updated>2021-04-08T07:27:59+00:00</updated>
<author>
<name>Mitali Borkar</name>
<email>mitaliborkar810@gmail.com</email>
</author>
<published>2021-04-08T02:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=73aba1b5f0afccdd41e5dec2002f3bd79e33636e'/>
<id>73aba1b5f0afccdd41e5dec2002f3bd79e33636e</id>
<content type='text'>
Removed an extra blank line so that only one blank line is present in
between two functions which separates them out.
Reported by checkpatch

Signed-off-by: Mitali Borkar &lt;mitaliborkar810@gmail.com&gt;
Link: https://lore.kernel.org/r/YG5ppTlGhRp5WVgS@kali
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed an extra blank line so that only one blank line is present in
between two functions which separates them out.
Reported by checkpatch

Signed-off-by: Mitali Borkar &lt;mitaliborkar810@gmail.com&gt;
Link: https://lore.kernel.org/r/YG5ppTlGhRp5WVgS@kali
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: matched alignment with open parenthesis</title>
<updated>2021-04-08T07:27:58+00:00</updated>
<author>
<name>Mitali Borkar</name>
<email>mitaliborkar810@gmail.com</email>
</author>
<published>2021-04-08T02:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d03f499e6453abeeb231c4af5e518c787a9bd557'/>
<id>d03f499e6453abeeb231c4af5e518c787a9bd557</id>
<content type='text'>
Aligned arguments with open parenthesis to meet linux kernel coding
style
Reported by checkpatch

Signed-off-by: Mitali Borkar &lt;mitaliborkar810@gmail.com&gt;
Link: https://lore.kernel.org/r/YG5xV5q7ODTUTVK/@kali
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Aligned arguments with open parenthesis to meet linux kernel coding
style
Reported by checkpatch

Signed-off-by: Mitali Borkar &lt;mitaliborkar810@gmail.com&gt;
Link: https://lore.kernel.org/r/YG5xV5q7ODTUTVK/@kali
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Use constants from &lt;linux/ieee80211.h&gt;</title>
<updated>2021-04-07T08:19:12+00:00</updated>
<author>
<name>Christophe JAILLET</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2021-04-06T20:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f179515da9780c4cd37bee76c3cbb6f7364451d6'/>
<id>f179515da9780c4cd37bee76c3cbb6f7364451d6</id>
<content type='text'>
Some constants defined in wifi.h are already defined in &lt;linux/ieee80211.h&gt;
with some other (but similar) names.
Be consistent and use the ones from &lt;linux/ieee80211.h&gt;.

The conversions made are:
_SSID_IE_                --&gt;  WLAN_EID_SSID
_SUPPORTEDRATES_IE_      --&gt;  WLAN_EID_SUPP_RATES
_DSSET_IE_               --&gt;  WLAN_EID_DS_PARAMS
_IBSS_PARA_IE_           --&gt;  WLAN_EID_IBSS_PARAMS
_ERPINFO_IE_             --&gt;  WLAN_EID_ERP_INFO
_EXT_SUPPORTEDRATES_IE_  --&gt;  WLAN_EID_EXT_SUPP_RATES

_HT_CAPABILITY_IE_       --&gt;  WLAN_EID_HT_CAPABILITY
_HT_EXTRA_INFO_IE_       --&gt;  WLAN_EID_HT_OPERATION    (not used)
_HT_ADD_INFO_IE_         --&gt;  WLAN_EID_HT_OPERATION

_VENDOR_SPECIFIC_IE_     --&gt;  WLAN_EID_VENDOR_SPECIFIC

_RESERVED47_             --&gt; (not used)

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/fe35fb45323adc3a30f31b7280cec7700fd325d8.1617741313.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some constants defined in wifi.h are already defined in &lt;linux/ieee80211.h&gt;
with some other (but similar) names.
Be consistent and use the ones from &lt;linux/ieee80211.h&gt;.

The conversions made are:
_SSID_IE_                --&gt;  WLAN_EID_SSID
_SUPPORTEDRATES_IE_      --&gt;  WLAN_EID_SUPP_RATES
_DSSET_IE_               --&gt;  WLAN_EID_DS_PARAMS
_IBSS_PARA_IE_           --&gt;  WLAN_EID_IBSS_PARAMS
_ERPINFO_IE_             --&gt;  WLAN_EID_ERP_INFO
_EXT_SUPPORTEDRATES_IE_  --&gt;  WLAN_EID_EXT_SUPP_RATES

_HT_CAPABILITY_IE_       --&gt;  WLAN_EID_HT_CAPABILITY
_HT_EXTRA_INFO_IE_       --&gt;  WLAN_EID_HT_OPERATION    (not used)
_HT_ADD_INFO_IE_         --&gt;  WLAN_EID_HT_OPERATION

_VENDOR_SPECIFIC_IE_     --&gt;  WLAN_EID_VENDOR_SPECIFIC

_RESERVED47_             --&gt; (not used)

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Link: https://lore.kernel.org/r/fe35fb45323adc3a30f31b7280cec7700fd325d8.1617741313.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Remove extra blank lines</title>
<updated>2021-04-06T12:16:20+00:00</updated>
<author>
<name>Zhansaya Bagdauletkyzy</name>
<email>zhansayabagdaulet@gmail.com</email>
</author>
<published>2021-04-06T11:43:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e91cafdf3c18b927e61eb4ee18e4865b8485f24f'/>
<id>e91cafdf3c18b927e61eb4ee18e4865b8485f24f</id>
<content type='text'>
Remove extra blank lines after an open brace to adhere to Linux kernel
coding style.
Reported by checkpatch.

Signed-off-by: Zhansaya Bagdauletkyzy &lt;zhansayabagdaulet@gmail.com&gt;
Link: https://lore.kernel.org/r/f61f6d330bc3fa53d4d420754d1d461b6cfcb2de.1617708653.git.zhansayabagdaulet@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove extra blank lines after an open brace to adhere to Linux kernel
coding style.
Reported by checkpatch.

Signed-off-by: Zhansaya Bagdauletkyzy &lt;zhansayabagdaulet@gmail.com&gt;
Link: https://lore.kernel.org/r/f61f6d330bc3fa53d4d420754d1d461b6cfcb2de.1617708653.git.zhansayabagdaulet@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Rewrite NULL comparisons</title>
<updated>2021-04-06T12:16:20+00:00</updated>
<author>
<name>Zhansaya Bagdauletkyzy</name>
<email>zhansayabagdaulet@gmail.com</email>
</author>
<published>2021-04-06T11:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b0a7b3aee5c19ba0b295a37bc633ddf50fe0bccd'/>
<id>b0a7b3aee5c19ba0b295a37bc633ddf50fe0bccd</id>
<content type='text'>
Replace NULL comparisons with boolean negation to be more consistent with
the rest of the Linux kernel code base.
Reported by checkpatch.

Signed-off-by: Zhansaya Bagdauletkyzy &lt;zhansayabagdaulet@gmail.com&gt;
Link: https://lore.kernel.org/r/74471865b399584d73a18696d2008006301dfd71.1617708653.git.zhansayabagdaulet@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace NULL comparisons with boolean negation to be more consistent with
the rest of the Linux kernel code base.
Reported by checkpatch.

Signed-off-by: Zhansaya Bagdauletkyzy &lt;zhansayabagdaulet@gmail.com&gt;
Link: https://lore.kernel.org/r/74471865b399584d73a18696d2008006301dfd71.1617708653.git.zhansayabagdaulet@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
