[go: nahoru, domu]

History log of /drivers/staging/rtl8723au/core/rtw_xmit.c
Revision Date Author Comments
a82b4b018a2341ab19885a1bcef6235513c053c5 09-Sep-2014 Greg Donald <gdonald@gmail.com> drivers: staging: rtl8723au: Fix 'code indent should use tabs where possible' errors

Fix checkpatch.pl 'code indent should use tabs where possible' errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c582db4cb82e69f92ca5111b5043129438d5fae9 22-Jul-2014 Masanari Iida <standby24x7@gmail.com> staging: rtl8723au: Fix typo in rtw_xmit.c

This patch fix spelling typo in comments within rtw_xmit.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4947f5e4e9b4aac23f79c7cd0b7307ada0e5d49c 28-May-2014 Sachin Kamat <sachin.kamat@linaro.org> staging: rtl8723au: Remove redundant casting in rtw_xmit.c

Casting value returned by k[cmz]alloc is useless.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0618dbc637c8ae9e3e4ebff4632a23bb6cc97ad8 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Don't check check_fwstate() == false

In addition, remove a followon check for false just after having
checked for true.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
f2f97035f08a5ea1f0c23e65f6ea9cd2f3cd2586 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Don't explicitly check check_fwstate() == true

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
04e57767ef1805393f22ef9989e5dfcb61379711 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_xmit.c: Use ether_addr_copy()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
06e17e361eadc3897bcd58370a6e5dbf94722d21 25-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use ieee80211.h defines for IV/ICV len values

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c26e95737be5e07c68f7b2828fa3c5d5ff2387e0 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_xmit.c: Get rid of SetToDs()/SetFrDs() usage

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b2f72caefea52659c3324ef4febfbd725dd6b60a 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_xmit.c: Use IEEE80211_[FS]TYPE_ defines

In addition pkt_attrib->type a u16 and get rid of pattrib->stype

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e5b2a429f06df64ce3b13c9f0394a4b90f1dacce 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rl8723au: rtw_make_wlanhdr(): Use ieee80211_qos_hdr

Use the kernel provided struct and defines to fill in qos_ctrl

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c6716e1f84b2ad6edf8073ad60df36baf8d59cfd 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Get rid of SetPrivacy()/SetPwrMgt()/SetMData() macros

Set these bits directly in the code instead of fiddling with wrapper
macros.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
39ef89153ce9690efc00d45448fda23ad416ce51 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Declare rtw_make_wlanhdr() static

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
670ce6889c21629329fbefa148ae712458c63a7b 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_make_wlanhdr23a(): Use IEEE80211_SN_TO_SEQ() to set seq_ctrl

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8e3ddadf740e6d1b3678129b315817f48d801475 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Get rid of ClearMFrag/SetMFrag

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9e3d6df2df8dbc4c2c5fb733dc494dfc82e0e2ae 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use WLAN_CIPHER_SUITE_* to mark crypto type

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9216c517fb0192d1828169d8af2bac59ee8e3173 21-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fix up some random bit-flag handling

Randomly mixing true/false/_FAIL/0/1 is a recipe for disaster

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
8fd873d93d3f6d2331a96531a3211eb8d7133280 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_xmit.c: Be consistent in using int for error return type

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
638443dcf4fdacad614d9bc198dcfe921a5ca08c 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Call xmit/recv handlers directly instead of via HAL wrappers

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
b3d139a6468047b87667c65d7ebc7c0c6b55ada6 16-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Disentangle recv/xmit_priv init/free from HAL wrappers

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
d095789ae66034c2991b398c5cf8e02ceff1bd88 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Remove empty *_free_xmit_priv() and friends

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
7855848ecd33029b34674bf630c2478b8056b999 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: qos_asm23a(): Don't pass through an invalid priority

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c06209d9489e43803bcb49c8f814e4799b1e128c 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: set_qos() keep userpriority in a u8

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
072fc84dce0620dcbb907a6881b46552c239bcf5 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: tid is 4 bits, so we need a 16 bit value to hold a bitmap

Remove unused add_enable_bitmap and candidate_tid_bitmap from struct
mlme_ext_info.

In addition we don't need to use CHKBIT when we know we are dealing
with a value in the range 0-15.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
794ff0530e43d9a6d96cf0ece451225dd77e7b1c 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Eliminate _rtw_queue_empty23a()

This was just a silly wrapper around list_empty()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
269746a4f3f6fab086b4eac5c912471f95232de3 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl723au: Remove some obsolete misleading comments

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3a35058f2e4c6e2a6a8bb079d16fd6c632281097 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> stating: rtl8723au: Use kmalloc instead of vmalloc to allocate pool of xmit_frame_ext

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
251ccc2d865be02f43d00000c48a1bc4fbd1016c 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use kmalloc() rather than vmalloc() to allocate xmit_frames

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
6042cbfddb1de718fad347b363fe9fadc8ceccd3 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Declare rtw_alloc_xmitframe() static

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
bd8ad4a510962fd8a43391dc8a22783f9f54398f 09-May-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Eliminate struct qos_priv

Having struct qos_priv containing a single integer, and carrying a
dedicated header file for it, is just plain silly. Move the integer
into struct mlme_priv, which is the only place qos_priv was used
anyway, and get rid of the header file.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
507a755dd78b782ed6e274803950759f81faf574 26-Apr-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: r8723au: Fix endian errors for frame control

The following locations in the code treat the frame control as u16 rather than
the correct __le16:

drivers/staging/rtl8723au/core/rtw_mlme_ext.c:2471:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:2644:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:2849:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:2994:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:3308:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:3578:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:3699:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:3821:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:3932:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:4004:15: expected unsigned short [usertype] *fctrl
drivers/staging/rtl8723au/core/rtw_mlme_ext.c:4194:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/core/rtw_xmit.c:911:23: expected unsigned short [usertype] *fctrl
drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:216:15: expected unsigned short [usertype] *fctrl
drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:313:15: expected unsigned short [usertype] *fctrl
drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:350:15: expected unsigned short [usertype] *fctrl
drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:419:15: expected unsigned short [usertype] *fctrl
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c:314:15: expected unsigned short *fctrl
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c:2357:15: expected unsigned short *fctrl

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4bf954b2f93e5c0e5389d40fb34a0595038dc817 15-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_update_protection23a(): Use cfg80211_find_ie()

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3455f1f062641c13858c77c5a2c07c9a45a1a820 15-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: rtw_xmit.c: Use the kernel's WLAN_EID_* definitions

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3e689a9ff53952aad8aca5bd7d01c09268e8deea 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Don't use pktfile interface in rtw_xmitframe_coalesce23a()

The pktfil interface is horrible, no idea where it came from, but not
using it is a win.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
69a0f9745c963de5ea1e42cdb8370913248c4872 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Make rtw_xmitframe_coalesce23a() more readable

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e59cb424d76440275f3667a3a173b9e6e81bb363 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Fix update_attrib() and set_qos() to not use pktfile nonsense

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3483b8ae77ce81130dd379417131f8687e4a24d9 09-Apr-2014 Jes Sorensen <Jes.Sorensen@redhat.com> staging: rtl8723au: Use proper ETH_P_* types instead of hard coded constants in rtw_xmit.c

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
c17416ef707312429aafcdc4597db73906f3572e 29-Mar-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: r8723au: Additional source patches

These changes are fixes that were discovered late in the testing
cycle.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5e93f35209578fcabfa855e427354195e54b491f 29-Mar-2014 Larry Finger <Larry.Finger@lwfinger.net> staging: r8723au: Add source files for new driver - part 1

The Realtek USB device RTL8723AU is found in Lenovo Yoga 13 tablets.
A driver for it has been available in a GitHub repo for several months.
This commit contains the first part of the source files. The source
is arbitrarily split to avoid E-mail files that are too large.

Jes Sorensen at RedHat has made many improvements to the vendor code,
and he has been doing the testing. I do not have access to this device.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>