JPH11175437A - Radio lan controller and radio lan control method - Google Patents

Radio lan controller and radio lan control method

Info

Publication number
JPH11175437A
JPH11175437A JP34234797A JP34234797A JPH11175437A JP H11175437 A JPH11175437 A JP H11175437A JP 34234797 A JP34234797 A JP 34234797A JP 34234797 A JP34234797 A JP 34234797A JP H11175437 A JPH11175437 A JP H11175437A
Authority
JP
Japan
Prior art keywords
data
wireless lan
lan interface
computer system
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
JP34234797A
Other languages
Japanese (ja)
Inventor
Akira Tanaka
明良 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP34234797A priority Critical patent/JPH11175437A/en
Publication of JPH11175437A publication Critical patent/JPH11175437A/en
Abandoned legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a buffer function and DMA function for absorbing the difference in transferring speed between interfaces, and a communication controller function for operating the control of a transmitting and receiving function and state communication to a CPU by using radio LAN interface control information. SOLUTION: The difference in the transferring speed between a CPU 16 and a radio LAN interface 19 is absorbed by FIFO 12 and 13, and a transmitting and receiving buffer is separated so that high speed data transfer can be realized. Then, the status monitor of the radio LAN interface 19, the reception of interruption communication from the radio LAN interface 19, proper control to the radio LAN interface 19, state communication to the CPU 16, and data transfer with a memory 17 can be attained by a control part 14. Thus, the mutual interface difference among the CPU 16, memory 17, and radio LAN interface 19 can be absorbed, and data transmission and reception between the CPU 16 and the radio LAN interface 19, and between the memory 17 and the radio LAN interface 19 can be attained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータシス
テムのCPU等の演算処理装置と無線によるLAN(L
ocal Area Network)のインターフェ
ース(以下、無線LANインターフェース)とのデータ
の送受信を行う通信コントローラ装置に関し、インター
フェース間の転送速度の違いを吸収するバッファ機能及
びDMA(Direct Memory Acces
s)機能、さらに無線LANインターフェースの制御情
報を用いて送受信機能の制御及びCPUへの状態通知す
ることを特徴とする無線LANコントロール装置、及び
無線LANコントロール方法に関する。
The present invention relates to an arithmetic processing unit such as a CPU of a computer system and a wireless LAN (L).
BACKGROUND OF THE INVENTION A communication controller device for transmitting and receiving data to and from an interface of a wireless local area network (hereinafter referred to as a wireless LAN interface) has a buffer function for absorbing a difference in transfer speed between the interfaces and a DMA (Direct Memory Acces).
s) The present invention relates to a wireless LAN control device and a wireless LAN control method, characterized by controlling a transmission / reception function and notifying a status to a CPU using control information of a wireless LAN interface.

【0002】[0002]

【従来の技術】従来、通信コントロール回路において、
CPU側のデータ転送速度に比べ無線LANインターフ
ェース側のデータ転送速度が低いことから、CPU側の
バスのスループットは無線LANインターフェースのス
ループットに影響されることになる。これを改善するた
め、転送速度の違いを吸収するためのバッファを実装す
るだけではCPUの負荷を軽減する効果は少ない。ま
た、通信コントローラ回路自体には、無線LANインタ
ーフェースの状態を判断する機能はなくCPUの処理に
頼っている。
2. Description of the Related Art Conventionally, in a communication control circuit,
Since the data transfer rate on the wireless LAN interface side is lower than the data transfer rate on the CPU side, the throughput of the bus on the CPU side is affected by the throughput of the wireless LAN interface. In order to improve this, simply mounting a buffer for absorbing the difference in transfer speed has little effect of reducing the load on the CPU. Further, the communication controller circuit itself does not have a function of determining the state of the wireless LAN interface, and relies on the processing of the CPU.

【0003】[0003]

【発明が解決しようとする課題】CPUとソフトウェア
を記憶できるメモリと無線LAN機能を持つインターフ
ェースに対して相互のインターフェースの違いを吸収
し、CPU−無線LANインターフェース間、及びメモ
リ−無線LANインターフェース間でデータを送受信す
ることを可能とする汎用的な通信コントローラLSIに
おいて、以下のようなことが切望されている。
The difference between the CPU and the memory capable of storing software and the interface having the wireless LAN function is absorbed by the CPU and the wireless LAN interface and between the memory and the wireless LAN interface. In a general-purpose communication controller LSI capable of transmitting and receiving data, the following has been eagerly desired.

【0004】(1)CPUと無線LANインターフェー
スとの転送速度の差異を内部にバッファを持つことで吸
収し、また送信と受信のバッファを分離することでデー
タ転送の高速化を実現し、無線LANインターフェース
のステータスの監視、無線LANインターフェースから
の割り込みの通知等を受けて無線LANインターフェー
スへの適切な制御及びCPUへの状態の通知、メモリと
のデータ転送を行う。 (2)無線LANインターフェースの有する無線による
通信の状態を監視する(例えば、電波の強弱)ことで、
無線LANインターフェースへのデータの送信・受信の
制御をCPUに通知すること、及びメモリとのデータ転
送を行う。
(1) The difference in transfer speed between the CPU and the wireless LAN interface is absorbed by having an internal buffer, and the transmission and reception buffers are separated to realize high-speed data transfer. Upon monitoring the status of the interface, receiving notification of an interrupt from the wireless LAN interface, and the like, appropriate control to the wireless LAN interface, notification of the state to the CPU, and data transfer to the memory are performed. (2) By monitoring the state of wireless communication of the wireless LAN interface (for example, the strength of radio waves),
It notifies the CPU of the control of data transmission / reception to the wireless LAN interface and transfers data to / from the memory.

【0005】(3)内蔵する複数のバッファの状態を監
視してCPUに通知することで最適なデータ転送量を制
御する。
(3) The optimum data transfer amount is controlled by monitoring the status of a plurality of built-in buffers and notifying the CPU of the status.

【0006】そこで、本発明は上記事情を考慮して成さ
れたもので、コンピュータシステムのCPUと無線LA
Nインターフェースとのデータの送受信を行う通信コン
トローラ装置において、インターフェース間の転送速度
の違いを吸収するバッファ機能及びDMA機能、さらに
無線LANインターフェースの制御情報を用いて送受信
機能の制御及びCPUへの状態通知することを特徴とす
る無線LANコントロール装置、及び無線LANコント
ロール方法を提供することを目的とする。
Accordingly, the present invention has been made in view of the above circumstances, and has been developed in consideration of a CPU of a computer system and a wireless LA.
In a communication controller device for transmitting and receiving data to and from the N interface, a buffer function and a DMA function for absorbing a difference in transfer speed between the interfaces, a control of a transmitting and receiving function using control information of a wireless LAN interface, and a state notification to a CPU. It is an object of the present invention to provide a wireless LAN control device and a wireless LAN control method.

【0007】[0007]

【課題を解決するための手段】本発明は上記目的を達成
するため、次の通りとした。
The present invention has the following features to attain the above object.

【0008】即ち、本発明の無線LANコントロール装
置は、無線LANインターフェースを介して無線LAN
によりデータ通信を行うコンピュータシステムの無線L
ANコントロール装置において、上記コンピュータシス
テムが送受信するデータのダイレクトメモリアクセス転
送を上記コンピュータシステムにより設定され制御する
DMAコントローラと、上記無線LANインターフェー
スとデータの送受信を行うインターフェース手段と、上
記コンピュータシステムのCPUと上記無線LANイン
ターフェースのバスの転送速度の差を吸収するため上記
DMAコントローラからの送信データを格納する送信用
バッファ手段と、上記コンピュータシステムのCPUと
上記無線LANインターフェースのバスの転送速度の差
を吸収するため上記インターフェース手段からの受信デ
ータを格納する受信用バッファ手段と、上記無線LAN
インターフェースと上記DMAコントローラの状態を監
視してデータの送受信が可能かどうかを判定しこの判定
結果に基づきデータの送受信を制御する制御手段とを備
え、上記制御手段は、データを送信する際上記判定結果
に基づきデータ送信可能な場合送信データを上記コンピ
ュータシステムのメモリから上記DMAコントローラに
より読み込み上記送信用バッファ手段に格納しこの格納
した送信データを上記インターフェース手段により上記
無線LANインターフェースへ転送する制御をし、デー
タを受信する際上記判定結果に基づきデータ受信可能な
場合受信データを上記無線LANインターフェースから
上記インターフェース手段により上記受信用バッファ手
段に格納しこの格納した受信データを上記DMAコント
ローラが上記コンピュータシステムへ転送する制御をす
ることを特徴とする。
That is, the wireless LAN control device of the present invention uses a wireless LAN interface via a wireless LAN interface.
L of the computer system which performs data communication by using
In the AN control device, a DMA controller that sets and controls direct memory access transfer of data transmitted and received by the computer system by the computer system, interface means for transmitting and receiving data to and from the wireless LAN interface, and a CPU of the computer system. Transmission buffer means for storing transmission data from the DMA controller to absorb a difference in transfer rate of the bus of the wireless LAN interface, and absorption of a difference in transfer rate of the bus of the wireless LAN interface to the CPU of the computer system. Receiving means for storing data received from the interface means,
An interface and control means for monitoring the states of the DMA controller to determine whether data transmission / reception is possible and controlling data transmission / reception based on the result of the determination. The control means performs the determination when transmitting data. When data transmission is possible based on the result, the transmission data is read from the memory of the computer system by the DMA controller and stored in the transmission buffer means, and the stored transmission data is transferred to the wireless LAN interface by the interface means. When receiving data, if the data can be received based on the determination result, the received data is stored from the wireless LAN interface into the receiving buffer means by the interface means, and the stored received data is transmitted to the DMA controller by the DMA controller. Characterized by a control to be transferred to Yutashisutemu.

【0009】この構成によれば、CPUと無線LANイ
ンターフェースとの転送速度の差異を内部にバッファを
持つことで吸収し、また送信と受信のバッファを分離す
ることでデータ転送の高速化を実現し、無線LANイン
ターフェースのステータスの監視、無線LANインター
フェースからの割り込みの通知等を受けて無線LANイ
ンターフェースへの適切な制御及びCPUへの状態の通
知、メモリとのデータ転送を行うことができ、CPUと
ソフトウェアを記憶できるメモリと無線LAN機能を持
つインターフェースに対して相互のインターフェースの
違いを吸収し、CPU−無線LANインターフェース
間、及びメモリ−無線LANインターフェース間でデー
タを送受信することを可能とする。
According to this configuration, the difference in transfer speed between the CPU and the wireless LAN interface is absorbed by having an internal buffer, and the speed of data transfer is increased by separating the transmission and reception buffers. It can monitor the status of the wireless LAN interface, receive an interrupt notification from the wireless LAN interface, and perform appropriate control to the wireless LAN interface, notification of the state to the CPU, and data transfer with the memory. The interface between a memory capable of storing software and an interface having a wireless LAN function is absorbed, and data can be transmitted and received between the CPU and the wireless LAN interface and between the memory and the wireless LAN interface.

【0010】[0010]

【発明の実施の形態】以下、図面を参照して本発明の一
実施の形態を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0011】(第1の実施形態)図1は、本発明の実施
形態の一例についての概略構成を示した図である。
(First Embodiment) FIG. 1 is a diagram showing a schematic configuration of an example of an embodiment of the present invention.

【0012】図1において、通信コントローラ10は、
通信コントローラの本体であり、DMAコントローラ1
1とFIFO12,13、制御部14、IF15を内設
している。DMA(Direct Memory Ac
cess)コントローラ11は、通信コントローラ10
内のDMA転送をコントロールする回路である。FIF
O12及び13は、送信/受信のためのFIFO(また
はバッファ)であり、DMAコントローラ11とIF1
5との間に設けられている。ここでは、FIFO12が
送信チャンネル、FIFO13が受信チャンネルとす
る。
In FIG. 1, a communication controller 10 comprises:
DMA controller 1
1 and FIFOs 12 and 13, a control unit 14, and an IF 15 are provided internally. DMA (Direct Memory Ac)
cess) controller 11 is a communication controller 10
This is a circuit for controlling the DMA transfer in the inside. FIF
O12 and O13 are FIFOs (or buffers) for transmission / reception.
5 is provided. Here, the FIFO 12 is a transmission channel, and the FIFO 13 is a reception channel.

【0013】制御部14は、DMAコントローラ11と
IF15との間に設けられ、無線LAN(Local
Area Network)インターフェース19への
転送を制御するための制御回路である。そして、インタ
ーフェース15の無線LANインターフェース19とD
MAコントローラ11の状態を制御する。インターフェ
ース(IF)15は、制御部14の制御により無線LA
Nインターフェース19とのデータ転送を行う回路であ
る。
The control unit 14 is provided between the DMA controller 11 and the IF 15, and controls the wireless LAN (Local).
(Area Network) is a control circuit for controlling transfer to the interface 19. Then, the wireless LAN interface 19 of the interface 15 and D
The state of the MA controller 11 is controlled. The interface (IF) 15 controls the wireless LA under the control of the control unit 14.
This is a circuit for performing data transfer with the N interface 19.

【0014】通信コントローラ10と無線LANインタ
ーフェース間のインターフェース自体は、一般的なバス
仕様(例えば、ISAバス、PCMCIAなど)が用い
られることが多い。
As the interface itself between the communication controller 10 and the wireless LAN interface, general bus specifications (for example, ISA bus, PCMCIA, etc.) are often used.

【0015】CPU16はシステムの演算処理や各種制
御を行うものであり、メモリ17はシステムメモリであ
る。そして、CPU16とメモリ17、通信コントロー
ラ10はバス18に接続されている。バス18は、CP
U16、メモリ17、通信コントローラ10、その他の
システムリソース間のデータ転送のためのシステムバス
である。
The CPU 16 performs arithmetic processing and various controls of the system, and the memory 17 is a system memory. The CPU 16, the memory 17, and the communication controller 10 are connected to the bus 18. Bus 18 is a CP
A system bus for transferring data between the U16, the memory 17, the communication controller 10, and other system resources.

【0016】無線LANインターフェース19は、無線
LANインターフェース本体であり、インターフェース
15とデータ転送ができるインターフェースを有してい
るものとする。
The wireless LAN interface 19 is the main body of the wireless LAN interface, and has an interface capable of transferring data with the interface 15.

【0017】図1において、通信コントローラのデータ
転送を説明する。
Referring to FIG. 1, the data transfer of the communication controller will be described.

【0018】図1におけるシステムにおいて、無線LA
Nとのデータの送受信を行うには、CPU16がファー
ムウェフまたはソフトウェアなどの実行プログラム命令
により、DMAコントローラ11に対して、DMA転送
の設定を行う。
In the system shown in FIG.
In order to transmit / receive data to / from N, the CPU 16 sets DMA transfer to the DMA controller 11 in accordance with an execution program command such as firmware or software.

【0019】ここでは、メモリ17から無線LANイン
ターフェース19に対するデータ送信の場合について説
明をする。
Here, the case of data transmission from the memory 17 to the wireless LAN interface 19 will be described.

【0020】無線LANインターフェース19が送信可
能かどうかは制御部14が監視を行う。制御部14は一
定間隔でインターフェース15に無線LANインターフ
ェース19の状態を読み込む制御を行う(無線LANイ
ンターフェース19が状態変化の割り込みを行って状態
通知する場合もある)。また、DMAコントローラ11
が送信準備が完了したかどうかも認識する。
The control unit 14 monitors whether the wireless LAN interface 19 can transmit. The control unit 14 performs control to read the state of the wireless LAN interface 19 into the interface 15 at regular intervals (the wireless LAN interface 19 may interrupt the state change to notify the state). Also, the DMA controller 11
Also recognizes whether the transmission preparation is completed.

【0021】制御部14によるデータ送信の転送制御
を、図2に示すフローチャートを参照して説明する。
The transfer control of data transmission by the control unit 14 will be described with reference to the flowchart shown in FIG.

【0022】制御部14は、まず、無線LANインター
フェース19が転送可能な状態かどうか、またDMAコ
ントローラ11が送信準備完了したかどうかを判定する
(ステップA1)。
The control unit 14 first determines whether the wireless LAN interface 19 is in a transferable state and whether the DMA controller 11 is ready for transmission (step A1).

【0023】無線LANインターフェース19とDMA
コントローラ11の準備ができていない場合(ステップ
A1のNo)、処理を戻して準備完了かどうかの判定を
再び行う。
Wireless LAN interface 19 and DMA
If the controller 11 is not ready (No in step A1), the process is returned to determine again whether the preparation is completed.

【0024】無線LANインターフェース19とDMA
コントローラ11の準備ができている場合(ステップA
1のYes)、制御部14は、DMAコントローラ11
と無線LANインターフェース19に送信データの転送
開始命令を出す(ステップA2)。
Wireless LAN Interface 19 and DMA
When the controller 11 is ready (step A
1), the control unit 14 controls the DMA controller 11
Then, a transmission data transfer start command is issued to the wireless LAN interface 19 (step A2).

【0025】送信データは、DMAコントローラ11に
より、メモリ17からバス18を経由して読み込まれ、
FIFO12に蓄えられる。インターフェース15は、
FIFO12からデータを取り出し、無線LANインタ
ーフェース19に出力する。そして、無線LANインタ
ーフェース19は、送信データを送信する。
The transmission data is read from the memory 17 via the bus 18 by the DMA controller 11,
Stored in the FIFO 12. The interface 15
The data is extracted from the FIFO 12 and output to the wireless LAN interface 19. Then, the wireless LAN interface 19 transmits the transmission data.

【0026】続いて、転送中のエラー検出を行い(ステ
ップA3)、転送中のエラーが検出された場合(ステッ
プA3のYes)、処理を戻して転送を継続する。
Subsequently, an error during transfer is detected (step A3). If an error during transfer is detected (Yes in step A3), the process is returned to continue the transfer.

【0027】転送中のエラーが検出されなかった場合
(ステップA3のNo)、転送が完了したら、制御部1
4は無線LANインターフェース19に対して転送終了
の命令を出力する。DMAコントローラ11は、CPU
16に転送完了を通知する(ステップA4)。
If no error is detected during the transfer (No in step A3), when the transfer is completed, the controller 1
4 outputs a transfer end command to the wireless LAN interface 19. The DMA controller 11 has a CPU
16 is notified of the transfer completion (step A4).

【0028】次に、無線LANインターフェース19か
らメモリ17へのデータの受信の場合について説明す
る。この場合も送信の時と同様にCPU16は予めDM
A転送の設定を行う。
Next, the case of receiving data from the wireless LAN interface 19 to the memory 17 will be described. In this case, as in the case of transmission, the CPU 16
A transfer setting is performed.

【0029】無線LANインターフェース19は、受信
データを転送する要求を割り込みにより制御部14に通
知する(または、制御部14による定期的な無線LAN
インターフェース19の監視により通知することも可能
である)。
The wireless LAN interface 19 notifies the controller 14 of a request to transfer received data to the controller 14 by interruption (or a periodic wireless LAN by the controller 14).
The notification can be made by monitoring the interface 19).

【0030】制御部14によるデータ受信の制御を図2
のフローチャートを参照して説明する。まず、無線LA
Nインターフェース19が転送可能な状態かどうか、ま
たDMAコントローラ11が送信準備完了したかどうか
を判定する(ステップA1)。そして、無線LANイン
ターフェース19とDMAコントローラ11の準備がで
きていない場合(ステップA1のNo)、処理を戻して
準備完了かどうかの判定を再び行う。
The control of data reception by the control unit 14 is shown in FIG.
This will be described with reference to the flowchart of FIG. First, wireless LA
It is determined whether the N interface 19 is in a transferable state and whether the DMA controller 11 is ready for transmission (step A1). If the wireless LAN interface 19 and the DMA controller 11 are not ready (No in step A1), the process is returned to determine again whether the preparation is completed.

【0031】無線LANインターフェース19とDMA
コントローラ11の準備ができている場合(ステップA
1のYes)、制御部14はDMAコントローラ11と
無線LANインターフェース19に受信データの転送開
始命令を出す(ステップA2)。
Wireless LAN Interface 19 and DMA
When the controller 11 is ready (step A
(Yes of 1), the control unit 14 issues a transfer start command of the received data to the DMA controller 11 and the wireless LAN interface 19 (step A2).

【0032】受信データは、無線LANインターフェー
ス19からインターフェース15を経由して読み込ま
れ、FIFO13に蓄えられる。DMAコントローラ1
1は、FIFO13から受信データを取り出し、バス1
8を経由してメモリ17に出力する。転送中のエラー検
出を行い(ステップA3)、転送中のエラーが検出され
た場合(ステップA3のYes)、処理を戻して転送を
継続する。
The received data is read from the wireless LAN interface 19 via the interface 15 and stored in the FIFO 13. DMA controller 1
1 retrieves the received data from the FIFO 13 and
8 to the memory 17. An error during transfer is detected (step A3), and if an error during transfer is detected (Yes in step A3), the process is returned to continue the transfer.

【0033】転送中のエラーが検出されなかった場合
(ステップA3のNo)、転送が完了したら、制御部1
4は無線LANインターフェース19に対して転送終了
の命令を出力する。DMAコントローラ11は、CPU
16に転送完了を通知する(ステップA4)。
If no error is detected during the transfer (No in step A3), the controller 1
4 outputs a transfer end command to the wireless LAN interface 19. The DMA controller 11 has a CPU
16 is notified of the transfer completion (step A4).

【0034】(第2の実施形態)以下に第2の実施形態
について説明する。概略構成については前述第1の実施
形態と変わるところはなく、説明には図1を参照する。
(Second Embodiment) Hereinafter, a second embodiment will be described. The schematic configuration is the same as that of the first embodiment, and FIG. 1 is referred for the description.

【0035】第2の実施形態では、制御部14が無線L
ANインターフェース19の状態を検知し、その状態に
基づき転送制御を行う。この処理の流れを図3のフロー
チャートを参照して説明する。
According to the second embodiment, the control unit 14
The state of the AN interface 19 is detected, and transfer control is performed based on the state. The flow of this processing will be described with reference to the flowchart of FIG.

【0036】無線LANインターフェース19は、無線
に関する転送状態(例えば、転送速度の変化等)を内部
情報として持っているものとする。
It is assumed that the wireless LAN interface 19 has a wireless transfer state (for example, a change in transfer speed) as internal information.

【0037】制御部14は、内部情報を所定の間隔で監
視し(ステップB1)、この監視結果をCPU16に通
知する(B2)。CPU16は、通知された内部情報に
基づき無線LANの転送状態に変化があるかを判定する
(この場合は無線LANの転送速度に変化があるかを判
定する)(ステップB3)。
The control unit 14 monitors the internal information at predetermined intervals (step B1), and notifies the CPU 16 of the monitoring result (B2). The CPU 16 determines whether there is a change in the transfer state of the wireless LAN based on the notified internal information (in this case, determines whether there is a change in the transfer rate of the wireless LAN) (step B3).

【0038】転送速度に変化がなかった場合(ステップ
B3のNo)、処理は終了する。一方、転送速度に変化
があった場合(ステップB3のYes)、CPU16
は、無線LANの転送速度の変化に応じて、転送速度を
最適な速度に制御する。或いは、精度を高くした転送
(エラー検出情報を強化した転送など)を行うようにし
ても良いことは勿論である。
If there is no change in the transfer speed (No in step B3), the process ends. On the other hand, if the transfer speed has changed (Yes in step B3), the CPU 16
Controls the transfer speed to an optimum speed according to a change in the transfer speed of the wireless LAN. Alternatively, it is a matter of course that transfer with high accuracy (such as transfer with enhanced error detection information) may be performed.

【0039】(第3の実施形態)第3の実施形態につい
て、以下に説明する。概略構成については前述第1の実
施形態と変わるところはなく、説明には図1を参照す
る。
(Third Embodiment) A third embodiment will be described below. The schematic configuration is the same as that of the first embodiment, and FIG. 1 is referred for the description.

【0040】第3の実施形態では、制御部14は、FI
FO(またはバッファ)12、13の状態を監視し、こ
の状態に基づき転送制御を行うが、この処理の流れを図
4及び図5を参照して説明する。
In the third embodiment, the control unit 14
The status of the FOs (or buffers) 12 and 13 is monitored, and transfer control is performed based on the status. The flow of this process will be described with reference to FIGS.

【0041】まず、データ送信の場合の処理の流れを図
4を用いて説明する。FIFO12には、送信データが
バッファリングされる。通常インターフェース15がF
IFO12からデータを取り出す速度に対して、DMA
コントローラ11がメモリ17よりデータを読み込む速
度の方が速い。
First, the flow of processing for data transmission will be described with reference to FIG. The transmission data is buffered in the FIFO 12. Normal interface 15 is F
The speed at which data is retrieved from the
The speed at which the controller 11 reads data from the memory 17 is faster.

【0042】しかし、何らかの要因によりバス18が混
雑し、インターフェース15が無線LANインターフェ
ース19に対して必要な転送速度に比べ、メモリ17か
らFIFO12に転送する速度が下回った場合に、無線
LANインターフェース19においては、データのアン
ダーランが発生し、正しくデータが転送されたことにな
らない。
However, if the bus 18 is congested for some reason and the transfer speed of the interface 15 from the memory 17 to the FIFO 12 is lower than the transfer speed required for the wireless LAN interface 19, the wireless LAN interface 19 Means that data underrun occurred and data was not transferred correctly.

【0043】このようなFIFO12の状態を制御部1
4は所定の間隔で監視し(ステップC1)、この監視結
果をCPU16に通知する(ステップC2)。そして、
CPU16は、この監視結果に基づき上記のようなアン
ダーランの発生の可能性があるか否かを判定する(ステ
ップC3)。
The state of the FIFO 12 is controlled by the control unit 1
4 monitors at predetermined intervals (step C1), and notifies the CPU 16 of the monitoring result (step C2). And
The CPU 16 determines whether there is a possibility of occurrence of the underrun as described above based on the monitoring result (step C3).

【0044】アンダーランの発生の可能性がない場合
(ステップC3のなし)、処理は終了する。一方、アン
ダーランの発生の可能性がある場合(ステップC3のあ
り)、CPU16は、転送するべきパケットサイズを変
更して(ステップC4)、アンダーランの発生しない転
送を行う。
If there is no possibility of occurrence of an underrun (no step C3), the process ends. On the other hand, when there is a possibility that an underrun may occur (there is a step C3), the CPU 16 changes the packet size to be transferred (step C4) and performs the transfer without the occurrence of the underrun.

【0045】データ受信の場合の処理の流れを図5を参
照して説明する。
The processing flow in the case of data reception will be described with reference to FIG.

【0046】FIFO13において、無線LANインタ
ーフェース19からのデータ転送速度がFIFO13か
らメモリ17へ転送する速度よりも速くなってしまった
場合にオーバーランが発生する虞がある。
In the FIFO 13, if the data transfer rate from the wireless LAN interface 19 becomes faster than the transfer rate from the FIFO 13 to the memory 17, overrun may occur.

【0047】このようなFIFO13の状態を制御部1
4は所定間隔で監視し(ステップD1)、この監視結果
をCPU16に通知する(ステップD2)。
The state of the FIFO 13 is determined by the controller 1
4 monitors at predetermined intervals (step D1) and notifies the CPU 16 of the monitoring result (step D2).

【0048】CPU16は、この監視結果に基づき、上
記のようなオーバーランの発生の可能性があるか否かを
判定する(ステップD3)。
The CPU 16 determines whether there is a possibility of occurrence of the overrun as described above based on the monitoring result (step D3).

【0049】オーバーランの発生の可能性がない場合
(ステップD3のなし)、処理は終了する。
If there is no possibility of occurrence of overrun (no step D3), the process ends.

【0050】アンダーランの発生の可能性がある場合
(ステップD3のあり)、CPU16は、1回に転送す
るパケット数を減らし、DMA転送の数を増やすことで
(ステップD4)、オーバーランの発生しない転送を行
うことができる。
When there is a possibility that an underrun may occur (step D3), the CPU 16 reduces the number of packets to be transferred at one time and increases the number of DMA transfers (step D4), thereby causing the occurrence of overrun. Not transfer can be performed.

【0051】[0051]

【発明の効果】以上詳記したように本発明によれば、C
PUの負荷を軽減しシステムバスの占有率を下げること
で、無線LANインターフェースとのデータ転送による
システム全体のスループットの低下を押さえ、システム
の性能を向上させることが可能となる。
As described above in detail, according to the present invention, C
By reducing the load on the PU and reducing the occupancy of the system bus, it is possible to suppress a decrease in the throughput of the entire system due to data transfer with the wireless LAN interface, and to improve the performance of the system.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施形態の概略構成を示す図。FIG. 1 is a diagram showing a schematic configuration of a first embodiment of the present invention.

【図2】同実施の形態に係わる処理動作を示すフローチ
ャート。
FIG. 2 is a flowchart showing a processing operation according to the embodiment;

【図3】本発明の第2の実施形態に係わる処理動作を示
すフローチャート。
FIG. 3 is a flowchart showing a processing operation according to a second embodiment of the present invention.

【図4】同実施の形態に係わるデータ送信の場合の処理
動作を示すフローチャート。
FIG. 4 is a flowchart showing a processing operation in the case of data transmission according to the embodiment;

【図5】第3の実施の形態のデータ受信の場合の処理動
作を示すフローチャート。
FIG. 5 is a flowchart showing a processing operation in the case of data reception according to the third embodiment.

【符号の説明】[Explanation of symbols]

10…通信コントローラ 11…DMAコントローラ 12…FIFO 13…FIFO 14…制御部 15…インターフェース 16…CPU 17…メモリ 18…バス 19…無線LANインターフェース DESCRIPTION OF SYMBOLS 10 ... Communication controller 11 ... DMA controller 12 ... FIFO 13 ... FIFO 14 ... Control part 15 ... Interface 16 ... CPU 17 ... Memory 18 ... Bus 19 ... Wireless LAN interface

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 無線LANインターフェースを介して無
線LANによりデータ通信を行うコンピュータシステム
の無線LANコントロール装置において、 上記コンピュータシステムが送受信するデータのダイレ
クトメモリアクセス転送を上記コンピュータシステムに
より設定され制御するDMAコントローラと、 上記無線LANインターフェースとデータの送受信を行
うインターフェース手段と、 上記コンピュータシステムのCPUと上記無線LANイ
ンターフェースのバスの転送速度の差を吸収するため上
記DMAコントローラからの送信データを格納する送信
用バッファ手段と、 上記コンピュータシステムのCPUと上記無線LANイ
ンターフェースのバスの転送速度の差を吸収するため上
記インターフェース手段からの受信データを格納する受
信用バッファ手段と、 上記無線LANインターフェースと上記DMAコントロ
ーラの状態を監視してデータの送受信の可能性を判定
し、この判定結果に基づきデータの送受信を制御する制
御手段とを備え、 上記制御手段は、データを送信する際上記判定結果に基
づきデータ送信可能な場合送信データを上記コンピュー
タシステムのメモリから上記DMAコントローラにより
読み込み上記送信用バッファ手段に格納しこの格納した
送信データを上記インターフェース手段により上記無線
LANインターフェースへ転送制御し、 データを受信する際上記判定結果に基づきデータ受信可
能な場合受信データを上記無線LANインターフェース
から上記インターフェース手段により上記受信用バッフ
ァ手段に格納し、この格納した受信データを上記DMA
コントローラが上記コンピュータシステムへ転送する制
御をすることを特徴とする無線LANコントロール装
置。
1. A wireless LAN control device for a computer system that performs data communication by wireless LAN via a wireless LAN interface, wherein a DMA controller that sets and controls direct memory access transfer of data transmitted and received by the computer system. Interface means for transmitting and receiving data to and from the wireless LAN interface; and a transmission buffer for storing transmission data from the DMA controller for absorbing a difference in transfer speed between a CPU of the computer system and a bus of the wireless LAN interface. Means for receiving data from the interface means in order to absorb a difference in transfer rate between the CPU of the computer system and the bus of the wireless LAN interface. Receiving buffer means for storing data, and control means for monitoring the states of the wireless LAN interface and the DMA controller to determine the possibility of data transmission / reception, and controlling data transmission / reception based on the determination result. The control means reads the transmission data from the memory of the computer system by the DMA controller and stores the transmission data in the transmission buffer means when the data can be transmitted based on the determination result when transmitting the data, and stores the stored transmission data in the interface means When data can be received based on the determination result when receiving data, the received data is stored from the wireless LAN interface into the reception buffer means by the interface means, and Day The above DMA
A wireless LAN control device, wherein a controller controls transfer to the computer system.
【請求項2】 上記制御手段は上記無線LANインター
フェースからの状態変化の通知によりデータ送受信の可
能性を判定することを特徴とする請求項1記載の無線L
ANコントロール装置。
2. The wireless LAN according to claim 1, wherein said control means determines the possibility of data transmission / reception based on a notification of a state change from said wireless LAN interface.
AN control device.
【請求項3】 上記無線LANインターフェースは転送
速度等の無線に関するデータの転送状態の情報を持ち、 上記制御手段はこの情報を所定の間隔で監視し上記コン
ピュータシステムに通知し、 上記コンピュータシステムはこの通知された情報に基づ
きデータの転送速度を制御することを特徴とする請求項
1または請求項2記載の無線LANコントロール装置。
3. The wireless LAN interface has information on a transfer status of wireless data such as a transfer speed. The control means monitors the information at a predetermined interval and notifies the computer system of the information. 3. The wireless LAN control device according to claim 1, wherein a data transfer rate is controlled based on the notified information.
【請求項4】 上記制御手段は上記送信用バッファ手段
と上記受信用バッファ手段の状態を監視して、この監視
結果を上記コンピュータシステムに通知し、 上記コンピュータシステムはこの通知された監視結果に
基づきデータの転送量を制御することを特徴とする請求
項1または2、または3記載の無線LANコントロール
装置。
4. The control means monitors the states of the transmission buffer means and the reception buffer means, and notifies the computer system of a result of the monitoring, and the computer system based on the notified monitoring result. 4. The wireless LAN control device according to claim 1, wherein the amount of data transferred is controlled.
【請求項5】 無線LANインターフェースを介して無
線LANによりデータ通信を行うコンピュータシステム
の無線LANコントロール方法において、 上記コンピュータシステムが送受信するデータのダイレ
クトメモリアクセス転送を上記コンピュータシステムに
より設定され制御するDMAコントローラを備え、 データを送信する場合、上記無線LANインターフェー
スと上記DMAコントローラの状態を監視してデータの
送信の可能性を判定し、 この判定結果に基づきデータ送信可能な場合、上記DM
Aコントローラにより上記コンピュータシステムのメモ
リから読み込んだ送信データを上記コンピュータシステ
ムのCPUと上記無線LANインターフェースのバスの
転送速度の差を吸収するため格納し、 この格納した送信データを上記無線LANインターフェ
ースへ転送する制御をし、 データを受信する場合、上記無線LANインターフェー
スと上記DMAコントローラの状態を監視してデータの
受信可能性を判定し、 この判定結果に基づきデータ受信可能な場合、上記無線
LANインターフェースから転送された受信データを上
記コンピュータシステムのCPUと上記無線LANイン
ターフェースのバスの転送速度の差を吸収するため格納
し、 この格納した受信データを上記DMAコントローラが上
記コンピュータシステムへ転送する制御をすることを特
徴とする無線LANコントロール方法。
5. A wireless LAN control method for a computer system that performs data communication by wireless LAN via a wireless LAN interface, wherein the DMA controller sets and controls direct memory access transfer of data transmitted and received by the computer system. When transmitting data, the status of the wireless LAN interface and the DMA controller is monitored to determine the possibility of data transmission. If data transmission is possible based on the determination result, the DM
A controller stores transmission data read from the memory of the computer system to absorb a difference in transfer speed between the CPU of the computer system and the bus of the wireless LAN interface, and transfers the stored transmission data to the wireless LAN interface. When receiving data, the status of the wireless LAN interface and the DMA controller are monitored to determine the possibility of receiving data. If data can be received based on the result of the determination, the data is received from the wireless LAN interface. The transferred received data is stored to absorb a difference in transfer speed between the CPU of the computer system and the bus of the wireless LAN interface, and the stored received data is transferred to the computer system by the DMA controller. A wireless LAN control method comprising controlling.
【請求項6】 上記無線LANインターフェースからの
状態変化の通知によりデータ送受信の可能性を判定する
ことを特徴とする請求項5記載の無線LANコントロー
ル方法。
6. The wireless LAN control method according to claim 5, wherein the possibility of data transmission / reception is determined based on the notification of the state change from the wireless LAN interface.
【請求項7】 上記無線LANインターフェースは転送
速度等の無線に関するデータの転送状態の情報を持ち、
この情報を所定の間隔で監視して上記コンピュータシス
テムに通知し、 上記コンピュータシステムはこの通知された情報に基づ
きデータの転送速度を制御することを特徴とする請求項
5または請求項6記載の無線LANコントロール方法。
7. The wireless LAN interface has information on a transfer status of wireless data such as a transfer speed.
7. The wireless communication system according to claim 5, wherein the information is monitored at predetermined intervals and notified to the computer system, and the computer system controls a data transfer rate based on the notified information. LAN control method.
【請求項8】 上記データ送受信時のデータの格納状態
を監視し、この監視結果を上記コンピュータシステムに
通知し、 上記コンピュータシステムはこの通知された監視結果に
基づきデータの転送量を制御することを特徴とする請求
項5または6または7記載の無線LANコントロール方
法。
8. A storage state of data at the time of data transmission / reception is monitored, a result of the monitoring is notified to the computer system, and the computer system controls a data transfer amount based on the notified monitoring result. The wireless LAN control method according to claim 5, 6 or 7, wherein:
JP34234797A 1997-12-12 1997-12-12 Radio lan controller and radio lan control method Abandoned JPH11175437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34234797A JPH11175437A (en) 1997-12-12 1997-12-12 Radio lan controller and radio lan control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34234797A JPH11175437A (en) 1997-12-12 1997-12-12 Radio lan controller and radio lan control method

Publications (1)

Publication Number Publication Date
JPH11175437A true JPH11175437A (en) 1999-07-02

Family

ID=18353027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34234797A Abandoned JPH11175437A (en) 1997-12-12 1997-12-12 Radio lan controller and radio lan control method

Country Status (1)

Country Link
JP (1) JPH11175437A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100464919B1 (en) * 2002-08-28 2005-01-05 엘지전자 주식회사 System And Method For Transmitting And Receiving Data In Board
JP2020107182A (en) * 2018-12-28 2020-07-09 能美防災株式会社 Dispersion type fire alarm system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100464919B1 (en) * 2002-08-28 2005-01-05 엘지전자 주식회사 System And Method For Transmitting And Receiving Data In Board
JP2020107182A (en) * 2018-12-28 2020-07-09 能美防災株式会社 Dispersion type fire alarm system

Similar Documents

Publication Publication Date Title
US5721955A (en) System for transferring portion of data to host from buffer if size of packet is greater than first threshold value but less than second threshold value
JP2944055B2 (en) Intelligent communication network interface circuit
US5943479A (en) Method for reducing the rate of interrupts in a high speed I/O controller
CA2166343C (en) Carrier sense collision avoidance with auto abort
JP3671057B2 (en) Method and apparatus for automatic retransmission of packets in a network adapter
US20030043771A1 (en) Connection establishment method, communication method, state change transmission method, state changing method wireless apparatus, wireless device, and computer
US5958024A (en) System having a receive data register for storing at least nine data bits of frame and status bits indicating the status of asynchronous serial receiver
US11567893B2 (en) Method and a mirrored serial interface (MSI) for transferring data
US20020178310A1 (en) USB transmission control circuit
JP5545853B2 (en) Communication device
KR101082333B1 (en) Apparatus and method for controlling operation state of physical layer
JPH11175437A (en) Radio lan controller and radio lan control method
JP4708818B2 (en) Network device and control method thereof
JP2550811B2 (en) Communication control method
CN111666237B (en) DMA controller with cache management function
JP3512146B2 (en) Device driver device
JP2001094537A (en) Transmission device equipped with error processing function and error processing method
JPS5986940A (en) Information transmitting system of multi-drop system
JP3846089B2 (en) Interface device, control method thereof, and information recording medium
JP3379377B2 (en) Data processing system
JPH09269936A (en) Remote reading processing method and device therefor
KR100441884B1 (en) Network system performing high speed block data transfer between packet processing engine and main processor and direct memory access management method for the same
JPH09204311A (en) Information processing system
JP4941212B2 (en) Electronic device, data processing apparatus, and bus control method
JP3593882B2 (en) Printing apparatus and interface control method

Legal Events

Date Code Title Description
A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20050207