CDMA : Calculating M from m1 * w1, m2*w2, etc M as Walsh Code, M as Orthogonal COde I have these values,

m2 = 1 -1 -1 1
w2 =-1 -1 1 1    -1 -1 1 1    -1 -1 1 1    -1 -1 1 1

Im about to multiply m2 with w2

Should i multiply m2 with all of w2
(1 * -1 -1 1 1    -1 -1 1 1    -1 -1 1 1    -1 -1 1 1)
(-1 * -1 -1 1 1    -1 -1 1 1    -1 -1 1 1    -1 -1 1 1)
(-1 * -1 -1 1 1    -1 -1 1 1    -1 -1 1 1    -1 -1 1 1)
(1 * -1 -1 1 1    -1 -1 1 1    -1 -1 1 1    -1 -1 1 1)

Or do it one by one,
(1 * -1 -1 1 1)
(-1 * -1 -1 1 1),
...
..

Which one is correct?
You could have given a bit more background and explanation in your question, but as far as I understand your question, $m2$ is your data and $w2$ is the spreading code. The spreading ratio is 4 because the length of the spreading sequence is four times the data length. So you have to stretch out your data by a factor of 4 to line it up with the spreading sequence. Then you can do the multiplication as follows:

$$\begin{array}{rrrrrrrrrrrrrrrrr}m2: &amp; 1 &amp; 1 &amp; 1 &amp; 1
&amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; -1 &amp; 1 &amp; 1 &amp; 1 &amp; 1\\
w2: &amp; -1 &amp; -1 &amp; 1 &amp; 1&amp; -1 &amp; -1 &amp; 1 &amp; 1&amp; -1 &amp; -1 &amp; 1 &amp; 1&amp; -1 &amp; -1 &amp; 1 &amp; 1\\
\text{result}:
&amp; -1 &amp; -1 &amp;1&amp;1&amp;1&amp;1&amp;-1&amp;-1&amp;1&amp;1&amp;-1&amp;-1&amp;-1&amp;-1&amp;1&amp;1\end{array}$$