summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* staging: vt6656: vnt_set_keymode don't save pairwise key entry.Malcolm Priestley2014-07-091-0/+2
| | | | | | | | | | | | | | The device refuses to associate to older access points even though in the logs it appears to be associated in tkip or ccmp mode. Clear bit from key_entry_inuse in pairwise key so the entry is over written by group address. This doesn't seem to make any difference to newer access points and is a temporary fix until a better solution is found. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: s_nsBulkInUsbIoCompleteRead check that used sk_buff is ↵Malcolm Priestley2014-07-091-0/+3
| | | | | | | | | clean and ready to reuse. skb_push the headroom and trimmed back to 0 Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6655: fixed sparse warningsAnton Protopopov2014-07-091-3/+3
| | | | | | | | | | | This commit fixes a few sparse warnings for missing the 'static' keyword in array definitions: drivers/staging//vt6655/rxtx.c:81:22: warning: symbol 'wTimeStampOff' was not declared. Should it be static? drivers/staging//vt6655/rxtx.c:86:22: warning: symbol 'wFB_Opt0' was not declared. Should it be static? drivers/staging//vt6655/rxtx.c:90:22: warning: symbol 'wFB_Opt1' was not declared. Should it be static? Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* stagingL vt6656: implement fall back rates reporting.Malcolm Priestley2014-07-095-45/+93
| | | | | | | | | | | | | | | | The driver reports the rate tried in struct vnt_interrupt_data tsr* variables which is available in INTnsProcessData via interrupt urb context. Instead of closing apTD tx context in s_nsBulkOutIoCompleteWrite by setting in_use to false. Keep the context open and allow vnt_int_report_rate to close it. If the tx_retry value is correct it will report back the sucessful RATE tried. struct vnt_usb_send_context add pkt_no which is index of apTD Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: Include re_alloc_skb within lock.Malcolm Priestley2014-07-091-14/+11Star
| | | | | | | Remove variable re_alloc_skb and merge code within urb->actual_length. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vnt_set_channel remove power setting functionsMalcolm Priestley2014-07-091-23/+2Star
| | | | | | | | | Power setting is already done in vnt_config and vnt_tx_packet. Just check that for connection_channel, if invalid return. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vnt_rx_data add track rsr and new_rsr errorsMalcolm Priestley2014-07-091-2/+15
| | | | | | | | | Add rsr and new_rsr error packet error drop. if NEWRSR_DECRYPTOK fails drop packet altogether. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vnt_tx_packet don't change power when off channel.Malcolm Priestley2014-07-091-1/+2
| | | | | | | The changing channel is so fast when off channel that changing power is pointless. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vnt_rf_setpower rate <= RATE_11M check array boundMalcolm Priestley2014-07-091-1/+4
| | | | | | | decrement channel by one and check array bound. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vnt_rf_set_txpower use power for priv->byCurPwrMalcolm Priestley2014-07-091-15/+13Star
| | | | | | | | | The byCurPwr value can change state while in another thread,. Change to local variable power which is the last set value. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: turn radio off after mac registered.Malcolm Priestley2014-07-091-0/+2
| | | | | | | | Turn the radio off to save power is the device is unused on system. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: s_nsBulkOutIoCompleteWrite fix bug of 5GHZ a rates idxMalcolm Priestley2014-07-091-1/+6
| | | | | | | | | | | | On 2GHz band the values of wCurrentRate match the idx rates. However, on 5GHz they do not because in channel.c vnt_rates_a do not match idx. Instead use the info->control.rates[0].idx the value that was tried. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: implement get_stats ieee80211_low_level_statsMalcolm Priestley2014-07-093-0/+18
| | | | | | | | | The driver already report low_level_stats via vnt_interrupt_data. Allow mac80211 to collect them via vnt_get_stats Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: Add void declarations in zero-arg functions.Chi Pham2014-07-091-1/+1
| | | | | | | | | | | | | | | Added explicit void declarations to zero-argument function headers. The following coccinelle script was used: @addvoid@ identifier f; @@ f( + void ) { ... } Signed-off-by: Chi Pham <fempsci@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: remove typedef for CIRCBLKLuca Ellero2014-07-091-6/+7
| | | | | Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename FreeCircBlock()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function FreeCircBlock() to ced_free_circ_block() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename GetCircBlock()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function GetCircBlock() to ced_get_circ_block() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename SetCircular()Luca Ellero2014-07-093-5/+5
| | | | | | | rename camel case function SetCircular() to ced_set_circular() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename DbgStopLoop()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function DbgStopLoop() to ced_dbg_stop_loop() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename DbgGetData()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function DbgGetData() to ced_dbg_get_data() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename DbgRampAddr()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function DbgRampAddr() to ced_dbg_ramp_addr() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename DbgRampData()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function DbgRampData() to ced_dbg_ramp_data() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename DbgPoke()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function DbgPoke() to ced_dbg_poke() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename DbgPeek()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function DbgPeek() to ced_dbg_peek() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename DbgCmd1401()Luca Ellero2014-07-091-21/+21
| | | | | | | rename camel case function DbgCmd1401() to ced_dbg_cmd() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename TransferFlags()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function TransferFlags() to ced_transfer_flags() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename TypeOf1401()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function TypeOf1401() to ced_type_of_1401() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename CheckSelfTest()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function CheckSelfTest() to ced_check_self_test() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename StartSelfTest()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function StartSelfTest() to ced_start_self_test() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename StateOf1401()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function StateOf1401() to ced_state_of_1401() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: remove unused func BlkTransStateLuca Ellero2014-07-092-13/+0Star
| | | | | Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename KillIO1401()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function KillIO1401() to ced_kill_io() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename GetTransfer()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function GetTransfer() to ced_get_transfer() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename TestEvent()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function TestEvent() to ced_test_event() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename WaitEvent()Luca Ellero2014-07-093-5/+5
| | | | | | | rename camel case function WaitEvent() to ced_wait_event() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename SetEvent()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function SetEvent() to ced_set_event() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename UnsetTransfer()Luca Ellero2014-07-093-3/+3
| | | | | | | rename camel case function UnsetTransfer() to ced_unset_transfer() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename SetTransfer()Luca Ellero2014-07-093-5/+5
| | | | | | | rename camel case function SetTransfer() to ced_set_transfer() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename SetArea()Luca Ellero2014-07-091-4/+4
| | | | | | | rename camel case function SetArea() to ced_set_area() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename ClearArea()Luca Ellero2014-07-093-6/+6
| | | | | | | rename camel case function ClearArea() to ced_clear_area() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename GetOutBufSpace()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function GetOutBufSpace() to ced_get_out_buf_space() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename LineCount()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function LineCount() to ced_line_count() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename Stat1401()Luca Ellero2014-07-093-3/+3
| | | | | | | rename camel case function Stat1401() to ced_stat_1401() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename GetString()Luca Ellero2014-07-093-8/+8
| | | | | | | rename camel case function GetString() to ced_get_string() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename Reset1401()Luca Ellero2014-07-093-4/+4
| | | | | | | rename camel case function Reset1401() to ced_reset() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename QuickCheck()Luca Ellero2014-07-092-7/+6Star
| | | | | | | | rename camel case function QuickCheck() to ced_quick_check() and make it static Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: make ced_is_1401() staticLuca Ellero2014-07-092-2/+1Star
| | | | | Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename Is1401()Luca Ellero2014-07-092-7/+7
| | | | | | | rename camel case function Is1401() to ced_is_1401() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename InSelfTest()Luca Ellero2014-07-091-4/+4
| | | | | | | rename camel case function InSelfTest() to ced_in_self_test() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: ced1401: rename ReadWrite_Cancel()Luca Ellero2014-07-092-6/+6
| | | | | | | rename camel case function ReadWrite_Cancel() to ced_read_write_cancel() Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>